[LU-8339] Lock improvement for kiblnd_check_sends Created: 28/Jun/16  Updated: 25/Jul/16  Resolved: 25/Jul/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Improvement Priority: Minor
Reporter: Doug Oucharek (Inactive) Assignee: Doug Oucharek (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

kiblnd_check_sends() takes conn::ibc_lock at the beginning and releases this lock at the end. This is inefficient because most use-cases needs to release ibc_lock before caling this function.

Change this function to kiblnd_check_sends_locked() and avoid unnecessary lock dances.



 Comments   
Comment by Gerrit Updater [ 28/Jun/16 ]

Doug Oucharek (doug.s.oucharek@intel.com) uploaded a new patch: http://review.whamcloud.com/21050
Subject: LU-8339 lnet: lock improvement for ko2iblnd
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4512fa2ac9ee3280fa2245cf333432ba288e3fd8

Comment by Doug Oucharek (Inactive) [ 25/Jul/16 ]

This fix has just landed under LU-7099 as http://review.whamcloud.com/20322/.

Generated at Sat Feb 10 02:16:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.