]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: introduce timeout for client shutdown 35496/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 3 Jun 2020 07:17:38 +0000 (03:17 -0400)
committerVenky Shankar <vshankar@redhat.com>
Wed, 24 Jun 2020 05:58:41 +0000 (01:58 -0400)
commit7c716be4b94d7640d051d427f5d7e97fefe5baf2
tree54968c580ad7772981e342274b7e010c0467bd2b
parente39c79ce3eb465997729336efceda70a97a1a7e5
client: introduce timeout for client shutdown

Client::shutdown() could indefinitely wait when tearing down
MDS sessions if an MDS is unreachable during shutdown, but a
valid session existed, i.e., Client::mount() was successfull.

These failures were initially observed in mgr/volumes tests in
teuthology and lately during rados/mgr selftests where manager
plugins do not respawn as volumes plugin waits for cleaning up
libcephfs handles via Client::shutdown().

Fixes: http://tracker.ceph.com/issues/44276
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/client/Client.cc
src/client/Client.h
src/common/options.cc