]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: ceph_abort() on fsync(2) or fdatasync(2) failure 26438/head
authorSage Weil <sage@redhat.com>
Mon, 11 Feb 2019 17:11:22 +0000 (11:11 -0600)
committerPrashant D <pdhange@redhat.com>
Thu, 14 Feb 2019 22:45:07 +0000 (17:45 -0500)
commit5cce7805e654871ef14b7051bda3c59abb8f5b81
tree16cdb1aa3317dbc382e0a16674ce8bd41785b149
parent3f49d9c31fca42796686460d6ccad3143c11507e
os/filestore: ceph_abort() on fsync(2) or fdatasync(2) failure

If we get an error from f[data]sync that is always a fatal error.

Fixes: http://tracker.ceph.com/issues/38258
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3892b81303bcc35056ca06371651e13b7a4c4f2a)
src/os/filestore/FileStore.cc
src/os/filestore/LFNIndex.cc
src/os/filestore/WBThrottle.cc