Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
O_DIRECT is not a replacement for O_DSYNC
Even if a file is opened with O_DIRECT we still need O_DSYNC / fdatasync to make sure all metadata required to find the data made it to disk. Also clean up the flags handling in ob_open a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
- Loading branch information