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

Client should not assume RDONLY implies SOM

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: