fs.fsync(fd, callback)


请求将开放的文件描述符的所有数据刷新到存储设备。具体实现取决于操作系统和设备。有关详细信息,请参考 POSIX fsync(2) 文档。除了可能的异常外,不向完成回调提供其他参数。

【Request that all data for the open file descriptor is flushed to the storage device. The specific implementation is operating system and device specific. Refer to the POSIX fsync(2) documentation for more detail. No arguments other than a possible exception are given to the completion callback.】