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

Allow 'lfs setstripe --copy FID' to inherit layout from FID

Details

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

    Description

      It would be useful to allow "lfs setstripe --copy FID" (and "lfs mirror extend ..." and "lfs migrate ...") to inherit the default layout from "FID" instead of having to specify a full pathname. This is useful for operations that are working on the source file by FID and don't know the full pathname of the parent (and don't want the overhead of doing fid2path repeatedly).

      In theory it would be possible to also use "MOUNT/.lustre/fid/FID" for this, but at some cost in usability.

      Attachments

        Issue Links

          Activity

            [LU-17775] Allow 'lfs setstripe --copy FID' to inherit layout from FID
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55081/
            Subject: LU-17775 lfs: Use fid for lfs_setstripe copy
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f7d45ef99d3ccb94d853b59345243f57ba7eee74

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55081/ Subject: LU-17775 lfs: Use fid for lfs_setstripe copy Project: fs/lustre-release Branch: master Current Patch Set: Commit: f7d45ef99d3ccb94d853b59345243f57ba7eee74

            "wangdi <di.d.wang@oracle.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55081
            Subject: LU-17775 lfs: Use fid for lfs_setstripe lfs_migrate
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 7db67db28f6835719e9bb4d1a9e248e1283b6cf5

            gerrit Gerrit Updater added a comment - "wangdi <di.d.wang@oracle.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55081 Subject: LU-17775 lfs: Use fid for lfs_setstripe lfs_migrate Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7db67db28f6835719e9bb4d1a9e248e1283b6cf5

            People

              di.wang Di Wang
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: