]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: ceph_abort() on fsync(2) or fdatasync(2) failure 26871/head
authorSage Weil <sage@redhat.com>
Mon, 11 Feb 2019 17:11:22 +0000 (11:11 -0600)
committerNeha Ojha <nojha@redhat.com>
Fri, 8 Mar 2019 22:26:42 +0000 (17:26 -0500)
commit4a9f0fd93476503aec7c220eaa9cfa74cde888e3
tree339deefdbd73caa80ad9ba29b2a9ef91e7007ad6
parent1e9d5ff47920efb04968869eae2a27314033be77
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)

 Conflicts:
src/os/filestore/FileStore.cc - encode trivial resolution
src/os/filestore/WBThrottle.cc - trivial resolution
src/os/filestore/FileStore.cc
src/os/filestore/LFNIndex.cc
src/os/filestore/WBThrottle.cc