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

FLR-EC-IWM: connect flag, feature gating, and LCME_FL_IMMEDIATE flag

    XMLWordPrintable

Details

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

    Description

      Define OBD_CONNECT2_FLR_IMMED_MIRROR gating infrastructure and the LCME_FL_IMMEDIATE layout flag for immediate write mirroring.

      Connect flag and gating (following EC pattern, Gerrit 62217):

      • Connect flag enabled by default (client and server module params)
      • Per-mount enable_immediate_mirror defaults to 0 (disabled) until the feature is ready
      • Client rejects layouts containing LCME_FL_IMMEDIATE components when per-mount flag is off

      LCME_FL_IMMEDIATE flag (following EC pattern, Gerrit 61962):

      • Add to enum lov_comp_md_entry_flags (lustre_user.h)
      • Add to LCME_KNOWN_FLAGS, LCME_USER_COMP_FLAGS, LCME_CL_COMP_FLAGS, LCME_TEMPLATE_FLAGS
      • Add { LCME_FL_IMMEDIATE, "immediate" }

        to comp_flags_table (lustreapi.h) so --comp-flags immediate works

      • LCME_FL_IMMEDIATE and LCME_FL_PARITY are mutually exclusive on a component

      Reference EC patches:

      Prototype patches:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: