Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Direct I/O writable file should do fsync in Close()
Summary: We don't do fsync() after truncate in direct I/O writeable file (in fact we don't do any fsync ever). This can cause metadata not persistent to disk after the file is generated. We call it instead. Closes facebook#3500 Differential Revision: D6981482 Pulled By: siying fbshipit-source-id: 7e2b591b7e5dd1b96fc0775515b8b9e6092980ef
- Loading branch information