Data-on-MDT phase II (LU-10176)

[LU-10664] DoM: make DoM lock enqueue non-blocking Created: 14/Feb/18  Updated: 23/Feb/21  Resolved: 17/Feb/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Technical task Priority: Minor
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: DoM2

Issue Links:
Related
is related to LU-12935 MDT deadlock on 2.12.3 with DoM; is i... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Currently DOM lock enqueue uses mdt_fid_lock() which is blocking, it can be done in non-blocking manner. The difficult part here is to return mdt body in callback instead of LVB which is updated inside LDLM code automatically.



 Comments   
Comment by Mikhail Pershin [ 07/Dec/19 ]

Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36903
Subject: LU-10664 dom: non-blocking enqueue for DOM locks
Project: fs/lustre-release
Branch: master
Current Patch Set: 2
Commit: ee5d22173a24ec30d59d2e03a46f0c65928e5315

Comment by Gerrit Updater [ 16/Dec/19 ]

Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37044
Subject: LU-10664 tests: fix MPI tests in dom-performance.sh
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 87008972a64919b7fa13955b93b3f2dfd42ac386

Comment by Stephane Thiell [ 14/Jan/20 ]

Hi Mike! I'm curious, have you made some progress on your patch "non-blocking enqueue for DOM locks" above? Do you still plan to work on it? We'll be happy to test it when it's ready, let me know. Thanks!

Comment by Mikhail Pershin [ 14/Jan/20 ]

Stephane, patch is ready, it is not just at high priority to inspect and land, so there is not much activity. Meanwhile you can take it and test, that would be very helpful, especially for cases with single file shared by many clients/processes

Comment by Stephane Thiell [ 14/Jan/20 ]

I see, that sounds good, thanks! I will see what we can do to test that patch.

Comment by Gerrit Updater [ 18/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37044/
Subject: LU-10664 tests: fix MPI tests in dom-performance.sh
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b6443b3799622f3e281b087f6cf0c86432887846

Comment by Gerrit Updater [ 14/Dec/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36903/
Subject: LU-10664 dom: non-blocking enqueue for DOM locks
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3c75d2522786a2a86db450a44da4e764d5ea8f30

Comment by Peter Jones [ 17/Feb/21 ]

Landed for 2.14

Generated at Sat Feb 10 02:37:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.