[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
Subject: LU-12942 lnet: Optimize check for routing feature flag
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4c033851b5ba7ba8f3013464e9e26efefb8648a8

Comment by Gerrit Updater [ 06/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36679/
Subject: LU-12942 lnet: Optimize check for routing feature flag
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7a99dc0b2f27132bea0d823ba9d2ce35ade49cb1

Comment by Peter Jones [ 06/Dec/19 ]

Landed for 2.14

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