[LU-16633] obd_get_mod_rpc_slot() is vulnerable to races Created: 11/Mar/23 Updated: 11/Dec/23 Resolved: 29/Mar/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0 |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
wait_woken() called from obd_get_mod_rpc_slot() resets WQ_FLAG_WOKEN flag, but leaves the corresponding wq_entry on the list. |
| Comments |
| Comment by Alex Zhuravlev [ 11/Mar/23 ] |
|
confirmed with AT with https://review.whamcloud.com/#/c/fs/lustre-release/+/50261/2: https://testing.whamcloud.com/test_sets/2df6460e-17a8-4b75-9abe-313301f0a9dc |
| Comment by Andreas Dilger [ 20/Mar/23 ] |
|
"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/50261 |
| Comment by Gerrit Updater [ 28/Mar/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50261/ |
| Comment by Peter Jones [ 29/Mar/23 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 03/Jul/23 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51539 |