Skip to content
Snippets Groups Projects

DiscovererWorker: Fix lock inversion

Register & unregister the FsHolder callback from the discoverer thread instead of the thread that starts the discoverer. If the FsHolder callback is registered from enqueue(), we lock the discoverer mutex, then the fs holder mutex, and will lock in the opposite order when the callback is invoked

Merge request reports

Merge request pipeline #183844 passed

Merge request pipeline passed for 2fa4759d

Test coverage 87.70% (0.00%) from 1 job
Approval is optional
Ready to merge by members who can write to the target branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading