Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10911 FLR2: Read only erasure coding
  3. LU-19994

FLR-EC-RO: block LCME_FL_PARITY in --comp-set

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The LCME_FL_PARITY flag is in LCME_USER_COMP_FLAGS, which means lfs setstripe --comp-set --comp-flags parity is accepted today. This makes no sense – parity components require the full EC structure (data mirror binding, RAID sets, stripe count derivation) and cannot be created by flipping a flag on an existing component.

      Block LCME_FL_PARITY in the --comp-set path:

      • llapi_layout_file_comp_set() in liblustreapi_layout.c: reject LCME_FL_PARITY in the flags
      • Kernel side (LOD): reject comp-set operations that attempt to add LCME_FL_PARITY

      Add a test verifying the rejection.

      Attachments

        Activity

          People

            wc-triage WC Triage
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: