[LU-12942] Optimize check for routing feature flag Created: 05/Nov/19 Updated: 06/Dec/19 Resolved: 06/Dec/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Chris Horn | Assignee: | Chris Horn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
We can perform a single check for the LNET_PING_FEAT_RTE_DISABLED flag in lnet_router_discovery_ping_reply() rather than repeatedly check it in the loop. Specifically, we can move this check to earlier in the function where we check for LNET_PEER_PING_FAILED. |
| Comments |
| Comment by Gerrit Updater [ 05/Nov/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36679 |
| Comment by Gerrit Updater [ 06/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36679/ |
| Comment by Peter Jones [ 06/Dec/19 ] |
|
Landed for 2.14 |