]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: refine fsync/close writeback error handling
authorJohn Spray <john.spray@redhat.com>
Mon, 17 Apr 2017 12:52:12 +0000 (08:52 -0400)
committerJohn Spray <john.spray@redhat.com>
Tue, 18 Apr 2017 11:47:10 +0000 (07:47 -0400)
commit1a69bec52f0215cea24f49945c42db00fa317395
treebe8c6388736a4017a5a2487d50ce410b5cd63790
parent1247119ca8e474eb750c56dbf86e404ef82998ef
client: refine fsync/close writeback error handling

Previously, errors stuck indelibly to the inode, which
meant that a close call would see an error even if the
user already dutifully fsync()'d and handled it.

We should emit each error only once per file handle.

Signed-off-by: John Spray <john.spray@redhat.com>
qa/tasks/cephfs/test_full.py
src/client/CMakeLists.txt
src/client/Client.cc
src/client/Fh.cc [new file with mode: 0644]
src/client/Fh.h
src/client/Inode.cc
src/client/Inode.h