]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: handle heartbeat_reset during shutdown 3502/head
authorJohn Spray <john.spray@redhat.com>
Wed, 14 Jan 2015 10:35:53 +0000 (10:35 +0000)
committerJohn Spray <jspray@redhat.com>
Tue, 27 Jan 2015 17:14:00 +0000 (17:14 +0000)
commit9f865fae095a1fe8a26acb50667f1d774d6020b6
tree98d465a1363f9ba5bb42c6e69d018806b88aaf4e
parenta463b92e475cd1f4cdb963e402033ebc9d37dbdc
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