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

Mark file layouts using append striping

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 3
    • 9223372036854775807

      While it is not necessary for functional reasons, it would be useful for debugging/diagnostic reasons to set a flag in the file layout when the MDS decides to use the append-specific layout. Otherwise, this can cause hard-to-diagnose behavior with file layouts when it overrides the default file layout.

      This could set the following flag in the layout when a file is using MDS_OPEN_APPEND and dah_append_stripe_count:

      enum lcm_comp_md_flags {
               :
               LCM_FL_INCOMPRESSIBLE   = 0x10,
      +        LCM_FL_APPEND           = 0x20,
      };
      

      The "lfs getstripe" and other commands would need to be updated for this flag.

            paf0186 Patrick Farrell
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: