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

some directory layout inheritance fixes

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      fixes for some minor problems:

      • it may happen that the depth is not set on a dir, do not consider
        depth == 0 as a real depth while checking if the root default is
        applicable;
      • setdirstripe util implicitely sets max_inherit to 3 for non-striped
        dir when -i option is given but -c is not; at the same time 3 is the
        default for striped dirs only;
      • getdirstripe shows inherited default layouts with max_inherit==0,
        whereas it has no sense anymore; the same for an explicitely set
        default layout on a dir/root with max_inherit==0;
      • getdirstripe hides max_inherit_rr when stripe_offset != -1 as it has
        no sense and reset to 0, however it leads to user confusion;

      Attachments

        Activity

          [LU-16527] some directory layout inheritance fixes

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49882/
          Subject: LU-16527 llite: dir layout inheritance fixes
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 6a5a4b49fabcb4c9715ae017009f1a8be91de235

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49882/ Subject: LU-16527 llite: dir layout inheritance fixes Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6a5a4b49fabcb4c9715ae017009f1a8be91de235

          "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50124
          Subject: LU-16527 llite: update dir depth on open
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: af0056cdefdbf610500124e543047b7714722f8e

          gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50124 Subject: LU-16527 llite: update dir depth on open Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: af0056cdefdbf610500124e543047b7714722f8e

          "Vitaly Fertman <vitaly.fertman@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49882
          Subject: LU-16527 llite: dir layout inheritance fixes
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 0fdcc9a86b6b2c41f1ccd87363ff88be10c77e37

          gerrit Gerrit Updater added a comment - "Vitaly Fertman <vitaly.fertman@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49882 Subject: LU-16527 llite: dir layout inheritance fixes Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0fdcc9a86b6b2c41f1ccd87363ff88be10c77e37

          People

            vitaly_fertman Vitaly Fertman
            vitaly_fertman Vitaly Fertman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: