mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +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;
|
Context *fin = nullptr;
|
||||||
if (!header->get_recursive()) {
|
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
|
// If the scrub did some repair, then flush the journal at the end of
|
||||||
|
Loading…
Reference in New Issue
Block a user