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

use filesystem default dir layout for new directories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Upstream, Lustre 2.12.0, Lustre 2.10.8
    • None
    • 3
    • 9223372036854775807

    Description

      Filesystem default dir layout stored in ROOT is not used in new directory creation, this is a technical debt of DNE code. It should follow the same semantic as filesystem default file layout:
      1. if user specified layout, use the input to create new directories.
      2. else if parent directory has default dir layout, check whether this default dir layout is sufficient (stripe_count is not 0 and hash_type is not 'none'), if so, use it to create.
      3. else if filesystem has default dir layout, and fill missing fields with it, then check whether it's sufficient, if so, use it to create.
      4. else fill missing fields with default values (stripe_count is "1", hash_type is "fnv16"), and create.

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: