]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: scrub pins more inodes than the mds_cache_memory_limit 67808/head
authorsajibreadd <sajibreadd@gmail.com>
Thu, 9 Oct 2025 11:48:35 +0000 (13:48 +0200)
committersajibreadd <sajibreadd@gmail.com>
Mon, 16 Mar 2026 09:45:25 +0000 (10:45 +0100)
commitd798efe01a425d31dd916482ad906a7acc13d8de
treef06f7d086ce58a90b0725b65ade03358cbc7adab
parent70f8415b300f041766fa27faf7d5472699e32388
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>
(cherry picked from commit 581565585ecf8bc85707dc44dff14e130be51188)

Conflicts:
src/mds/ScrubStack.cc
src/mds/ScrubStack.cc
src/mds/ScrubStack.h