[LU-12542] LDLM improvements form linux lustre client work Created: 12/Jul/19  Updated: 24/Dec/22  Resolved: 31/Mar/20

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

Type: Improvement Priority: Minor
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-4801 spin lock contention in lock_res_and_... Resolved
is related to LU-12511 Prepare lustre for adoption into the ... Open
Rank (Obsolete): 9223372036854775807

 Description   

While working on the ldlm interval work a few issues were pointed out. For example it was discussed how the ldlm_lock is to large so it consumes a lot of memory. This ticket tracks the various improvement being worked that is coming from the upstream work.



 Comments   
Comment by Gerrit Updater [ 12/Jul/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35486
Subject: LU-12542 ldlm: simplify lock_mode_to_index()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4d73fe281816b78fd802e7c1b7565151ddd72309

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35486/
Subject: LU-12542 ldlm: simplify lock_mode_to_index()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 32ae82e57cf8dfcd4361e9522ea57e473676a743

Comment by Peter Jones [ 21/Jul/19 ]

Landed for 2.13

Comment by James A Simmons [ 22/Jul/19 ]

Theirs much more

Comment by Gerrit Updater [ 08/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35738
Subject: LU-12542 obdclass: Remove unused function class_handle_hash_back()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 02bf0f8869d2b419645cefee67cf7a1a124682d9

Comment by Gerrit Updater [ 09/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35739
Subject: LU-12542 handles: discard h_owner in favour of h_ops
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5fd3524d40dac9c1166be75c9fd3687c87ea02a5

Comment by Gerrit Updater [ 15/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35738/
Subject: LU-12542 obdclass: Remove unused function class_handle_hash_back()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f36a5491d0bf4d861dc3332a600fca5a450afcb6

Comment by Gerrit Updater [ 15/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35739/
Subject: LU-12542 handles: discard h_owner in favour of h_ops
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9bda0a5cad190f33571ff6bce4235cd7fc4f76fd

Comment by James A Simmons [ 15/Aug/19 ]

time for next batch

Comment by Gerrit Updater [ 15/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35797
Subject: LU-12542 handle: discard OBD_FREE_RCU
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1890fff3bc5e67d04dee7ed4c88a05a8010620d6

Comment by Gerrit Updater [ 15/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35798
Subject: LU-12542 handle: rename ops to owner
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: caa63e38331c97cadac46f1c3de42283f4ccaa2c

Comment by Gerrit Updater [ 22/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35861
Subject: LU-12542 handle: remove locking from class_handle2object()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 753e87301fcd6a307d0cb3cdeea7efa12e67add2

Comment by Gerrit Updater [ 22/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35862
Subject: LU-12542 handle: use hlist for hash lists.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6211e27d919167ad6f38425709543015eb5cbbb2

Comment by Gerrit Updater [ 06/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35794/
Subject: LU-12542 handle: move refcount into the lustre_handle.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ae22814bccc6dfa3b72b15cef45ed7c2731d4e3e

Comment by Gerrit Updater [ 20/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35797/
Subject: LU-12542 handle: discard OBD_FREE_RCU
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 48830f888b651c32bfe4742f3d03fd04b15638a9

Comment by Gerrit Updater [ 10/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35798/
Subject: LU-12542 handle: rename ops to owner
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1a9aafbf6317a9b8b026f69faad11e1801e1b92a

Comment by Gerrit Updater [ 28/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35861/
Subject: LU-12542 handle: remove locking from class_handle2object()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e2458a94a6a2d7a5a70412652f1bef35ee1280c2

Comment by Gerrit Updater [ 28/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35862/
Subject: LU-12542 handle: use hlist for hash lists.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9c9ea6584cfb314aec693be2b03a0f55f60127a3

Comment by Gerrit Updater [ 08/Feb/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35863/
Subject: LU-12542 handle: discard h_lock.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6acafe7ac4efc48e0c406413401e9a8a92b51be2

Comment by James A Simmons [ 08/Feb/20 ]

Need to talk to Neil to see what is left.

Comment by Gerrit Updater [ 04/Mar/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/37789
Subject: LU-12542 lustre: remove INIT_LIST_HEAD_RCU support.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c8b487cf6b2b626c3e8b2fe92b73575297c48742

Comment by Gerrit Updater [ 05/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35484/
Subject: LU-12542 ldlm: don't access l_resource when not locked.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 74f4393c74da4eac8bfcfe2a53b8621847701fd6

Comment by Gerrit Updater [ 31/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37789/
Subject: LU-12542 lustre: remove INIT_LIST_HEAD_RCU support.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7b560d63759dbee2ac232bbe93a5071f8b0ebd1c

Comment by Peter Jones [ 31/Mar/20 ]

It looks like everything has landed for 2.14

Comment by Gerrit Updater [ 09/Oct/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40204
Subject: LU-12542 osd: consolidate RCU handling
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a3a2ba8a28395ace2555ed54c1e3e1f0090bca8f

Comment by Gerrit Updater [ 19/Oct/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40204/
Subject: LU-12542 osd: consolidate RCU handling
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bf7431d6e14c8a0a530cf7ed538d579cc2057e78

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