Details
-
Technical task
-
Resolution: Fixed
-
Minor
-
None
-
9223372036854775807
Description
Call mdt_dom_check_and_discard() after mdt_object_unlock() to avoid possible deadlock if some third lock is conflicting with both like in the scenario below:
- thread1: mdt_object_lock() with some bits
- thread2: take conflicting lock and wait
- thread1: mdt_dom_check_and_discard() with bits conflicting with thread2 causes deadlock.
Attachments
Issue Links
- is related to
-
LU-11270 Racer is stuck on ldlm lock
-
- Resolved
-
Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33026
Subject:
LU-11121mdt: discard data after all object are putProject: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b9e8e2b076537c120778f2523d286df8040d04e7