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

op_bias flag enum is being abused

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 6629

    Description

      Looking at http://review.whamcloud.com/4341, it seems that the op_bias flags (e.g. MDS_CROSS_REF in lustre_idl.h) are being abused by various parts of the code. Firstly, the root cause is probably because this enum has no name or comment, so it has become a dumping ground for various flags. Some of them are only local for the MDS, such as MDS_RECOV_OPEN, MDS_KEEP_ORPHAN, MDS_PERM_BYPASS, etc. Some of them (e.g. MDS_SOM, MDS_QUOTA_IGNORE) are not used at all?

      Attachments

        Activity

          People

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: