]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: retry remount on dcache invalidation failure
authorVenky Shankar <vshankar@redhat.com>
Tue, 28 Aug 2018 10:35:18 +0000 (06:35 -0400)
committerVenky Shankar <vshankar@redhat.com>
Wed, 28 Nov 2018 13:00:22 +0000 (18:30 +0530)
commit2b9f5ccf523e44fed77ecab4b1147b91c7d0d245
treee3317caf4e8dc1716b69b9c3d770539c28b3fa3b
parent042dc584a80f9c5a44b3d6406d75b7aee6b7ac8c
client: retry remount on dcache invalidation failure

For some (unknown) reason, there have been reports of
ceph-fuse crash due to failure is remounting at the
time of invalidating kernel dentry cache. This issue
is not also reproducible yet.

Therefore, as suggested by Patrick and Zheng, for a
temporary workaround, client would ignore the failure
as the invalidation would be retried again. There is
a max cap on the number of consecutive remount failures
after which client would abort.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit d1471f070cd1ad9c0f773e00d2552161d1ad5955)

 Conflicts:
src/client/Client.cc
src/client/Client.h
src/common/options.cc
src/client/Client.cc
src/client/Client.h
src/common/options.cc