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

FMODE_{READ,WRITE} put on the wire

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.6.0
    • 3
    • 13878

    Description

      lustre_idl.h contains the following jewel:

      #ifndef FMODE_READ
      #define FMODE_READ               00000001
      #define FMODE_WRITE              00000002
      #endif
      

      While these defines are unlikely to change we don't own them and we're not checking that they aren't changing (except the implicit check that Lustre operates 'normally'). On the wire an in the MDT stack we should be using MDS_FMODE_

      {READ,WRITE}

      (to be defined), and converting, and checking. There were some issues in the past when FMODE_EXEC was used by MDS_FMODE_EXEC was meant.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: