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

FLR-EC-IWM: lfs setstripe --immediate support

    XMLWordPrintable

Details

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

    Description

      Add --immediate option to lfs setstripe and lfs mirror create for creating immediate mirror layouts.

      This follows the EC pattern (Gerrit 61965): EC added --ec k+m notation, IWM just needs a boolean flag on the mirror components.

      lfs setstripe (lustre/utils/lfs.c):

      • Add --immediate option to lfs setstripe and lfs mirror create
      • When specified, set LCME_FL_IMMEDIATE on all components of the mirrors being created
      • Require >= 2 mirrors when --immediate is used

      Semantics:

      • lfs setstripe -N2 --immediate: flag on all mirrors
      • lfs mirror create --immediate: same, error if < 2
      • Directory defaults: template must have >= 2 mirrors with IMMEDIATE

      Tests (lustre/tests/sanity-flr.sh or new test file):

      • Basic layout creation with --immediate
      • Verify flag persists through getstripe
      • Verify rejection when feature is disabled
      • Verify directory default inheritance
      • Verify error when --immediate with only one mirror

      Reference EC patches:

      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: