]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: use BTRFS_IOC_SYNC instead of fsync
authorSage Weil <sage@newdream.net>
Thu, 9 Oct 2008 23:03:57 +0000 (16:03 -0700)
committerSage Weil <sage@newdream.net>
Mon, 13 Oct 2008 19:02:27 +0000 (12:02 -0700)
commit7518dd3def8921d3233c5fb83f651fc6a5f710af
treea2e1bb8aa878d36c671ccd146bbf03c8e5c50859
parentdd25463e85f24aedb4c4e8a2fa130518a6ce06ca
filestore: use BTRFS_IOC_SYNC instead of fsync

fsync() won't do the right thing on newer versions of btrfs, due do the
new tree log stuff.  Use the SYNC ioctl.
src/os/FileStore.cc