[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: |
|
||||
| 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 |
| 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 |
| 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 |