]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: apply configuration changes through MDSRank 28951/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 8 Jul 2019 17:30:26 +0000 (10:30 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 13 Jul 2019 00:13:29 +0000 (17:13 -0700)
commit2a765ea220106faac2714b9514e9ca0118b6758a
treef583d5d2812a4336ec367be839986418650e3526
parentf21b08f9b91d84d518de205fd81824b49b91796f
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>
16 files changed:
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Migrator.cc
src/mds/Migrator.h
src/mds/PurgeQueue.cc
src/mds/PurgeQueue.h
src/mds/Server.cc
src/mds/Server.h
src/mds/SessionMap.cc
src/mds/SessionMap.h