-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/FileStore: use fdatasync(2) instead of sync_file_range(2)
This fixes data corruption on XFS. Backported from ffade3c. Fixes: ceph#4976 Signed-off-by: Sage Weil <[email protected]> Reviewed-by: Samuel Just <[email protected]>
- Loading branch information
Sage Weil
committed
Jun 19, 2013
1 parent
cbbad5b
commit de8900d
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters