]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: optimize MDBalancer code path config access
authorSidharth Anupkrishnan <sanupkri@redhat.com>
Thu, 1 Oct 2020 15:34:56 +0000 (21:04 +0530)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 6 Jun 2024 17:57:56 +0000 (13:57 -0400)
commitddc57388ce058d4c3d6a0e8bccc04a7ca7383128
tree0794c4e3dfa837450046a0db5fc29b9db74a7c94
parent8fbefb00baf10f8e1e8e023ac13d5f5bb83e889d
mds: optimize MDBalancer code path config access

This change is necessary because the new way of setting config is to use the
ceph config command or the asok interface rather than the old way which
involved editing the ceph.conf and restarting the daemons to reflect the
changes. Have updated the code to support runtime config changes.

Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options/mds.yaml.in
src/mds/CDir.cc
src/mds/CDir.h
src/mds/CInode.cc
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/mds/MDSRank.cc
src/mds/mdstypes.h