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

DNE3: enable filesystem-wide default LMV

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Similar to default LOV on ROOT, default LMV on ROOT can act as filesystem-wide default LMV, but this may cause too many remote directories. However with the inherit depth, only new directories whose depth to ROOT is not larger than the inherit depth will inherit this default LMV to create.

      Attachments

        Issue Links

          Activity

            [LU-14792] DNE3: enable filesystem-wide default LMV
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44090/
            Subject: LU-14792 llite: enable filesystem-wide default LMV
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b9c4dc3c33fe87ecaa79a290190524ea21b7fa8a

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44090/ Subject: LU-14792 llite: enable filesystem-wide default LMV Project: fs/lustre-release Branch: master Current Patch Set: Commit: b9c4dc3c33fe87ecaa79a290190524ea21b7fa8a

            Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44090
            Subject: LU-14792 llite: enable filesystem-wide default LMV
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 91ee6a144add71059aae154362fd7b34fda2166d

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44090 Subject: LU-14792 llite: enable filesystem-wide default LMV Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 91ee6a144add71059aae154362fd7b34fda2166d

            In theory, we could keep the directory depth in memory for each directory object when the path is walked from ROOT/ during normal pathname lookups. That would allow inheriting the directory layout from ROOT with a limited max_inherit depth when creating directories that didn't previously inherit from ROOT.

            Ideally, we wouldn't need to explicitly copy the layout to each directory, since that makes life difficult if the root layout ever changes, but it may be too complex for the first version (eg. handling remote directories, etc).

            In the common case of max_inherit=-1 there is never a need to explicitly copy the ROOT/ layout.

            adilger Andreas Dilger added a comment - In theory, we could keep the directory depth in memory for each directory object when the path is walked from ROOT/ during normal pathname lookups. That would allow inheriting the directory layout from ROOT with a limited max_inherit depth when creating directories that didn't previously inherit from ROOT. Ideally, we wouldn't need to explicitly copy the layout to each directory, since that makes life difficult if the root layout ever changes, but it may be too complex for the first version (eg. handling remote directories, etc). In the common case of max_inherit=-1 there is never a need to explicitly copy the ROOT/ layout.

            People

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

              Dates

                Created:
                Updated:
                Resolved: