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

Client should not assume RDONLY implies SOM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In lov_io_slice_mirror_init, the client code assumes that a RDONLY flag in the layout implies SOM and skips glimpse if so.  This is something like a layering violation - SOM is communicated from the MDS when it is valid, and the client already skips glimpse in that case.

      Prior to "LU-14526 flr: mirror split downgrade SOM"/https://review.whamcloud.com/43168/, this was incorrect but not a problem, because LCM_FL_RDONLY always implied valid SOM.    That patch made that assumption invalid.

      Fix is for client not to assume LCM_FL_RDONLY means SOM.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: