2025-01-03T07:38:15.619Z | <Md Mahamudur Rahaman Sajib> ```std::lock_guard l(mds_lock);
mdcache->enqueue_scrub(path, tag, force, recursive, repair, scrub_mdsdir,
f, on_finish);```
Seems like found the answer, which is NO. this lock is locked outside of the scrub_stack. This lock is acquired while doing scrub abort, resume everything. So I am a bit confused what is the point of scrub abort then, because it won't able to acquire the lock until the enqueued scrub finishes. Any thoughts? |
2025-01-03T07:38:41.460Z | <Md Mahamudur Rahaman Sajib> ```std::lock_guard l(mds_lock);
mdcache->enqueue_scrub(path, tag, force, recursive, repair, scrub_mdsdir,
f, on_finish);```
Seems like found the answer, which is NO. this lock is locked outside of the `ScrubStack`. This lock is acquired while doing scrub abort, resume everything. So I am a bit confused what is the point of scrub abort then, because it won't able to acquire the lock until the enqueued scrub finishes. Any thoughts? |