mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
mds: properly execute scrub finish context
Bug was introduced by commit 7e52729699
(mds: flush after scrub repairs)
Fixes: http://tracker.ceph.com/issues/22058
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
This commit is contained in:
parent
b9ea759556
commit
ff71fbdcbb
@ -12114,7 +12114,7 @@ void MDCache::enqueue_scrub_work(MDRequestRef& mdr)
|
||||
|
||||
Context *fin = nullptr;
|
||||
if (!header->get_recursive()) {
|
||||
cs->take_finisher();
|
||||
fin = cs->take_finisher();
|
||||
}
|
||||
|
||||
// If the scrub did some repair, then flush the journal at the end of
|
||||
|
Loading…
Reference in New Issue
Block a user