]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: retry remount on dcache invalidation failure 24303/head
authorVenky Shankar <vshankar@redhat.com>
Tue, 28 Aug 2018 10:35:18 +0000 (06:35 -0400)
committerVenky Shankar <vshankar@redhat.com>
Thu, 27 Sep 2018 09:41:45 +0000 (15:11 +0530)
commite0a52e03e949c54482899f4a507a0870d25e0f27
treeccf8f767c7187d0b652279b9483df5922fd0ed04
parent1fdbedfc6a08ac9363ac6b3a3390cda1f877ed9e
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.

Fixes: http://tracker.ceph.com/issues/35931
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