[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: |
|
||||
| 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 |
| Comment by Doug Oucharek (Inactive) [ 25/Jul/16 ] |
|
This fix has just landed under |