[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
Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ab1c5cb579693040a81e018c586ff9e0f0483d8c

Comment by Gerrit Updater [ 05/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43397/
Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c31fb42f9aa561aef8b09fd3ff400cff0166ee4d

Comment by Peter Jones [ 05/May/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:11:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.