]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix locking around handle_conf_change 7312/head
authorJohn Spray <john.spray@redhat.com>
Thu, 21 Jan 2016 13:25:21 +0000 (13:25 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 21 Jan 2016 13:30:10 +0000 (13:30 +0000)
commite430f8e438cf9f9b5117334969b1351a6decb5b9
tree0d6b5a5cab270296774ebbd8f6a4a01ecd7df7b9
parent448bea4d1fa5d7ceadd71046f95b1c6141e3b218
mds: fix locking around handle_conf_change

We have to be careful about holding mds_lock
while setting things up, and we also have
to handle either locked or unlocked
calls to handle_conf_change.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSDaemon.cc
src/mds/StrayManager.cc
src/mds/StrayManager.h