Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      If "lfs mirror extend" is run on a file using its FID, it will create a volatile file without an assigned projid on the OST objects, which will result in project quota leakage. When it is run by path and the volatile file is created in the parent directory, then the projid is inherited from the parent.

      The layout merge used to join the volatile file layout to the original file (or layout swap in case of migrate by FID) should set the projid on the volatile file before it is merged, so that its project quota is accounted properly.

      Attachments

        Issue Links

          Activity

            [LU-16988] mirror extend by FID does not set projid

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57792
            Subject: LU-16988 mdd: update projid when merging layout
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: a1ea412064e86d4714b139201e58bcb12a8f07a6

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57792 Subject: LU-16988 mdd: update projid when merging layout Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: a1ea412064e86d4714b139201e58bcb12a8f07a6
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51859/
            Subject: LU-16988 mdd: update projid when merging layout
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: bb2525b0ddf9190ae340552fa615833b735b61d3

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51859/ Subject: LU-16988 mdd: update projid when merging layout Project: fs/lustre-release Branch: master Current Patch Set: Commit: bb2525b0ddf9190ae340552fa615833b735b61d3

            "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51859
            Subject: LU-16988 mdd: update projid when merging layout
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ab5a69fcc465643b56d1df02a187d2e1f854849d

            gerrit Gerrit Updater added a comment - "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51859 Subject: LU-16988 mdd: update projid when merging layout Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ab5a69fcc465643b56d1df02a187d2e1f854849d

            People

              hongchao.zhang Hongchao Zhang
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: