diff options
author | Patrick Donnelly <pdonnell@redhat.com> | 2019-07-08 19:30:26 +0200 |
---|---|---|
committer | Patrick Donnelly <pdonnell@redhat.com> | 2019-07-13 02:13:29 +0200 |
commit | 2a765ea220106faac2714b9514e9ca0118b6758a (patch) | |
tree | f583d5d2812a4336ec367be839986418650e3526 /src/mds/MDBalancer.h | |
parent | common/TrackedOp: make settings atomic (diff) | |
download | ceph-2a765ea220106faac2714b9514e9ca0118b6758a.tar.xz ceph-2a765ea220106faac2714b9514e9ca0118b6758a.zip |
mds: apply configuration changes through MDSRank
This avoids the need to acquire the mds_lock prior to responding to config
changes. The MDSRank can create a finisher context that acquires the lock
later.
Fixes: https://tracker.ceph.com/issues/40694
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/mds/MDBalancer.h')
-rw-r--r-- | src/mds/MDBalancer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mds/MDBalancer.h b/src/mds/MDBalancer.h index ce48c6febaa..18661f7bed7 100644 --- a/src/mds/MDBalancer.h +++ b/src/mds/MDBalancer.h @@ -44,9 +44,7 @@ public: MDBalancer(MDSRank *m, Messenger *msgr, MonClient *monc); - void handle_conf_change(const ConfigProxy& conf, - const std::set <std::string> &changed, - const MDSMap &mds_map); + void handle_conf_change(const std::set<std::string>& changed, const MDSMap& mds_map); int proc_message(const cref_t<Message> &m); |