Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15520 OST object projid and quota reset
  3. LU-16988

mirror extend by FID does not set projid

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: