[LU-5596] Remove obsolete global variable in LNET code Created: 08/Sep/14  Updated: 15/Sep/14  Resolved: 15/Sep/14

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

Type: Improvement Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: lnet

Rank (Obsolete): 15641

 Description   

In lnet/utils/lst.c, the definition of the "session_features" variable changes base on Lustre version:

#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 6, 50, 0)
/* assume all nodes can understand feature LST_FEAT_BULK_LEN */
static unsigned		   session_features = LST_FEATS_MASK;
#else
static unsigned		   session_features = LST_FEATS_EMPTY;
#endif

Since the Lustre master tag is now 2.6.52 or greater, the "else" definition is now obsolete and should be removed.



 Comments   
Comment by James Nunez (Inactive) [ 08/Sep/14 ]

Proposed patch at: http://review.whamcloud.com/11825

Comment by James Nunez (Inactive) [ 15/Sep/14 ]

Landed to master.

Generated at Sat Feb 10 01:52:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.