]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds/MDBalancer: add an arg to limit depth when dump loads for dirfrags
authorhaoyixing <haoyixing@kuaishou.com>
Tue, 14 Jun 2022 08:45:13 +0000 (08:45 +0000)
committerhaoyixing <haoyixing@kuaishou.com>
Mon, 27 Jun 2022 09:27:18 +0000 (09:27 +0000)
commita8f138cd3623e42c4f74a18d54ec7dfcc1e89e58
tree612bebc5606304ce3affe59a057a861ea509a4f6
parentb76b6ea16899861d6c266797b3c11d9f68f924d7
mds/MDBalancer: add an arg to limit depth when dump loads for dirfrags

Directory hierarchy may be deep for a large filesystem, dump loads would output
a lot and take a long time. So add an arg to limit depth when dump loads of dirfrags.

Fixes: https://tracker.ceph.com/issues/56058
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
qa/tasks/cephfs/test_admin.py
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc