[LU-14838] Remove old lockless code: Truncate & contention based lockless i/o Created: 09/Jul/21 Updated: 05/Jun/23 Resolved: 20/Sep/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.10 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell | Assignee: | Patrick Farrell |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
Lockless truncate and the buffered lockless i/o on contention have been broken pretty much since they were first implemented, which was a long time ago (~Lustre 2.0, maybe earlier). It's past time to remove them both. The only reason the lockless i/o on contention hasn't been more of a problem is that contention detection on the server is also mostly broken.
One note: And while I do not expect to pick up automatic lockahead, this contention detection work has a role to play in the "switched buffered i/o to direct i/o" patch series. It is much easier to do that patch if the server side contention detection is not removed entirely. |
| Comments |
| Comment by Gerrit Updater [ 09/Jul/21 ] |
|
Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44206 |
| Comment by Gerrit Updater [ 09/Jul/21 ] |
|
Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44205 |
| Comment by Gerrit Updater [ 09/Jul/21 ] |
|
Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44204 |
| Comment by Gerrit Updater [ 28/Jul/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44204/ |
| Comment by Gerrit Updater [ 28/Jul/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44205/ |
| Comment by Gerrit Updater [ 07/Jun/22 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47554 |
| Comment by Gerrit Updater [ 20/Sep/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47554/ |
| Comment by Peter Jones [ 20/Sep/22 ] |
|
Landed for 2.12.10 |