]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDBalancer: add an arg to limit depth when dump loads for dirfrags 54188/head
authorhaoyixing <haoyixing@kuaishou.com>
Tue, 14 Jun 2022 08:45:13 +0000 (08:45 +0000)
committerRishabh Dave <ridave@redhat.com>
Fri, 12 Apr 2024 14:22:27 +0000 (19:52 +0530)
commit643a1166d877e6ff0db18a7a95db6c03bde5a202
tree940fd673e2b16eedfc4c3e2237a2b1652cabc0b1
parent4f113f5455944ac06c5d93df586ceb9be0f9dfff
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>
(cherry picked from commit a8f138cd3623e42c4f74a18d54ec7dfcc1e89e58)

Conflicts:
  * qa/tasks/cephfs/test_admin.py
    Conflict occurred because test_admin.py on Quincy branch was updated
    by PR #54946.
qa/tasks/cephfs/test_admin.py
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc