]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: scrub pins more inodes than the mds_cache_memory_limit
authorsajibreadd <sajibreadd@gmail.com>
Thu, 9 Oct 2025 11:48:35 +0000 (13:48 +0200)
committersajibreadd <sajibreadd@gmail.com>
Thu, 11 Dec 2025 06:26:35 +0000 (07:26 +0100)
commit2aba0f8b95336f245ccfa7bf3d043ff0476f4525
treeee505961bbe6de2363d5b331aa9d6108bb9579d3
parent0a58a48efcf21c28def00e72b04eb68200a6c608
mds: scrub pins more inodes than the mds_cache_memory_limit

For scrubbing dirfrag we are pushing children back into the scrub stack. Instead we can follow the same
strategy for scrub directory and pushing children front of the scrub stack, and in kick_off_scrubs always
start scrubbing from the front of the stack. It will prevent ScrubStack to pinning whole level of the file-system
tree.

Fixes: https://tracker.ceph.com/issues/71167
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
src/mds/ScrubStack.cc
src/mds/ScrubStack.h