]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: do not scrub inode if it is purging
authordparmar18 <dparmar@redhat.com>
Fri, 2 Dec 2022 12:33:20 +0000 (18:03 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Fri, 31 Mar 2023 10:14:12 +0000 (15:44 +0530)
commit7d3248a92b1f1037c7686576a10ade0ed0115c40
tree856e01ca36ec0691573aab27e95a6e977d7c5316
parent8842c790e5638ab798f4c186a2a2a8e3be5fa7b6
mds: do not scrub inode if it is purging

Scrub could evaluate strays but there was a race condition where
an inode pinned for scrub would land for purging which would indeed
lead to crashes.

Fixes: https://tracker.ceph.com/issues/51824
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit a8680d37821854fb6d8685db85bdf2b658f12981)
src/mds/ScrubStack.cc