]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: take the mon lock in handle_conf_change 28018/head
authorhuangjun <huangjun@xsky.com>
Fri, 21 Jun 2019 14:09:39 +0000 (22:09 +0800)
committerhuangjun <huangjun@xsky.com>
Fri, 21 Jun 2019 14:09:39 +0000 (22:09 +0800)
commitbf57e20476cf0266840db0edd495368e43f0abb8
tree94f6608d478ff7ca61c4decc46fd4357608102c2
parent5b94f8badc3be3ade4e9e709ea7f73df37e9ae1e
mon: take the mon lock in handle_conf_change

Let the finisher thread to do the job, it can hold the mon lock
and not hold the config::lock, so can avoid dead lock with mon::tick thread.

Fixes: http://tracker.ceph.com/issues/39625
Signed-off-by: huangjun <huangjun@xsky.com>
src/mon/Monitor.cc