[LU-14628] Remove redundant might_sleep() in sptlrpc_gc_del_sec() Created: 21/Apr/21 Updated: 05/May/21 Resolved: 05/May/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Trivial |
| Reporter: | Nikitas Angelinas | Assignee: | Nikitas Angelinas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
sptlrpc_gc_del_sec() in lustre/ptlrpc/sec_gc.c calls mutex_lock() which calls might_sleep(), so the explicit call in this function can be removed as redundant. |
| Comments |
| Comment by Gerrit Updater [ 21/Apr/21 ] |
|
Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/43397 |
| Comment by Gerrit Updater [ 05/May/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43397/ |
| Comment by Peter Jones [ 05/May/21 ] |
|
Landed for 2.15 |