]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/syncfs: fall back to sync(2) if syncfs(2) not available 5530/head
authorKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2015 07:52:19 +0000 (15:52 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 2 Sep 2015 12:29:02 +0000 (14:29 +0200)
commita65c39852775b17323fa4efee54bde12ce22a512
tree91efe604db0ba5bee473ca2ca92191460d5c04b6
parent845d2aed9e9a9893678226b8661fbd8ff87c090f
common/syncfs: fall back to sync(2) if syncfs(2) not available

Fixes: #12512
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 08210d6a85527b0759f6dc4411f742bc13a4939f)

Conflicts:
src/common/sync_filesystem.h
          - subtle difference in #if/#else/#endif structure
src/common/sync_filesystem.h