]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: handle heartbeat_reset during shutdown 3370/head
authorJohn Spray <john.spray@redhat.com>
Wed, 14 Jan 2015 10:35:53 +0000 (10:35 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 14 Jan 2015 12:00:17 +0000 (12:00 +0000)
commit9daeaec5c6282da3a7b1ed16378f83f8aca5a9bb
treebde613de25830811e0d838f7d3e0eced6d43e753
parentd15958631b52a116ef596523fac5ffb8d77ead4e
mds: handle heartbeat_reset during shutdown

Because any thread might grab mds_lock and call heartbeat_reset
immediately after a call to suicide() completes, this needs
to be handled as a special case where we tolerate MDS::hb having
already been destroyed.

Fixes: #10382
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc