]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: Mark the scrub passed if dirfrag is dirty
authorKotresh HR <khiremat@redhat.com>
Thu, 15 May 2025 16:15:29 +0000 (21:45 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 9 Jul 2025 13:59:40 +0000 (13:59 +0000)
commit5f5bf82e5719e92e019e00cf1d6094c9e8adf570
tree4c1841e6719c3a90fa40ddd0e1523cb4dd7b347b
parent983134dbb22cdfbd36fff60da51cb401e498230e
mds: Mark the scrub passed if dirfrag is dirty

The in-memory and on-disk stats might not match on a
directory inode if any of the local or remote dirfrag
is dirty.  So don't fail the scrub and mark it as
passed if the local or remote dirfrag is dirty.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
Fixes: https://tracker.ceph.com/issues/65020
src/mds/CInode.cc
src/mds/CInode.h
src/mds/ScrubStack.cc
src/messages/MMDSScrub.h