]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: scrub pins more inodes than the mds_cache_memory_limit 65858/head
authorsajibreadd <sajibreadd@gmail.com>
Thu, 9 Oct 2025 11:48:35 +0000 (13:48 +0200)
committersajibreadd <sajibreadd@gmail.com>
Tue, 3 Mar 2026 11:47:14 +0000 (12:47 +0100)
commit581565585ecf8bc85707dc44dff14e130be51188
treea6becb13c9c294c368c424635de325106a30dfa9
parent943ce0c7fd9919255ca3ec38dd3fc75234f35fbc
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