]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: remove redundant abort logic during dentry invalidation test 24695/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 31 Oct 2018 06:47:24 +0000 (02:47 -0400)
committerVenky Shankar <vshankar@redhat.com>
Wed, 28 Nov 2018 13:00:22 +0000 (18:30 +0530)
commitdd9934699bbf2a037c37631b7b38ad66e66e1898
tree578276459cb01ffd956dd2e98b68f8f686453487
parent2b9f5ccf523e44fed77ecab4b1147b91c7d0d245
client: remove redundant abort logic during dentry invalidation test

commit d1471f070c added retry logic when remounting is
used to invalidate kernel dcache. ceph-fuse performs a
dcache invalidation test during startup, thereby logging
(and continuing) or aborting as per certain configuration
settings. the abort logic is pretty much redundant and
can be cleaned up preserving the existing behavior.

Also, assert is none of dcache invalidation mecahnisms
(`dentry_invalidate_cb` or `remount_cb`) are available.

Fixes: http://tracker.ceph.com/issues/35932
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 232d12f03612983336a2e90cb024deb79e5e6934)

 Conflicts:
src/client/Client.cc
src/client/Client.cc