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

Remove ldlm flag ldlm_{is,set,clear} macros

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      We have macros like ldlm_{is,set,clear}_#FLAG_NAME# for all of the ldlm flags.  I'm going to remove them and convert all usages to just using the flag bit names directly.

      They make it much harder to find all uses of the actual lock flags and we are entirely inconsistent on whether we use the macros or not.  And since we're always going to use the flag names for multi-flag uses, we can't convert 100% to macros anyway.

            paf0186 Patrick Farrell
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: