]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/newstore: use fdatasync instead of fsync
authorSage Weil <sage@redhat.com>
Wed, 15 Apr 2015 22:35:16 +0000 (15:35 -0700)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:38 +0000 (13:39 -0400)
commit04f55d8d18b081d94650f6561efdb4e143d8e1d0
tree252854983fec9a1adaa615718746cadfbae4809c
parent1321b880ccf95bed9f1f9eca9476a127cc73c95f
os/newstore: use fdatasync instead of fsync

On XFS at least, fdatasync is sufficient to make data readable.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/newstore/NewStore.cc