Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5596

Remove obsolete global variable in LNET code

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 15641

      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.

            jamesanunez James Nunez (Inactive)
            jamesanunez James Nunez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: