Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13643 FLR3-IM: Immediate write mirroring
  3. LU-19995

FLR-EC-IWM: block LCME_FL_IMMEDIATE in --comp-set

    XMLWordPrintable

Details

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

    Description

      The LCME_FL_IMMEDIATE flag is in LCME_USER_COMP_FLAGS, which means lfs setstripe --comp-set --comp-flags immediate is accepted today. This makes no sense – immediate mirroring requires at least 2 mirrors and the AW lock infrastructure. The flag cannot be safely added to an existing component by flipping it via --comp-set.

      Adding the immediate flag to a live file requires a layout intent with flush semantics (see LU-19701).

      Block LCME_FL_IMMEDIATE in the --comp-set path:

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

      Add a test verifying the rejection.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: