Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
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.