]> 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:18:34 +0000 (15:48 +0530)
commit9ecd46e18acee96ed587dc88a75a95f83e5b8765
tree8ad6b714dbe49230de781904939adaba1df66579
parente9c9567964beeb02148dcc61124610d4a4588223
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