ceph - cephfs - 2025-01-03

Timestamp (UTC)Message
2025-01-03T07:15:24.209Z
<Md Mahamudur Rahaman Sajib> Okay, can 2 independent directory be scrubbed(recursive) concurrently?
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?
2025-01-03T18:18:21.824Z
<Hemanth Kumar> @Veera Reddy ^^

Any issue? please create an issue here and use the infra label.