[LU-12782] Convert cl_object_attr_lock to rwlock Created: 18/Sep/19  Updated: 19/Jun/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Patrick Farrell (Inactive) Assignee: Dongyang Li
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

Under some shared file workloads, the cl_object_attr_lock ends up 'hot'.  As suggested in an old comment, it can easily be converted to an rwlock, which is useful because it is often taken for read.



 Comments   
Comment by Gerrit Updater [ 18/Sep/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36229
Subject: LU-12782 llite: Convert attr lock to rwlock
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 74615ac8e41c82096d6e726ef3dc50a196fb3670

Comment by Patrick Farrell (Inactive) [ 18/Sep/19 ]

This is a recent addition to the io500 branch, which is expected to help performance a bit on hard write and hard read (particularly hard read).

Comment by Gerrit Updater [ 18/Jun/23 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51347
Subject: LU-12782 llite: rationalize cl_object_attr locking
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 77e40614005615d0477a3ebbc59904bc7d20af54

Comment by Gerrit Updater [ 18/Jun/23 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51350
Subject: LU-12782 osc: Do not touch object attrs for every page
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: afd5c1d8db40386a18719d2712ee9ab498a039a8

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