Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 9223372036854775807

    Description

      It would be useful to record the projid of a file into the Lustre Changelog, so that this can be used to identify files within a specific subdirectory tree. This would use:

      struct changelog_ext_projid {
              __u32 cr_projid;
              __u32 cr_flags;       /* FS_PROJINHERIT_FL and other ext4 flags */
      };
      
      enum changelog_rec_extra_flags {
              :
              CLFE_PROJID     = 0x0010,
      };
      

      It looks like there will be a bit of complexity when adding a record after changelog_ext_xattr because that structure sadly does not encode a length, but only a NUL-terminated string, so this should be rounded up to the next multiple of 4 bytes before the changelog_ext_projid record is stored.

      Attachments

        Issue Links

          Activity

            [LU-15372] add projid to changelog
            adilger Andreas Dilger made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Arshad Hussain [ arshad512 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-8686 [ EX-8686 ]
            adilger Andreas Dilger made changes -
            Labels Original: lug23dd medium New: lad23dd lug23dd medium
            pjones Peter Jones made changes -
            Labels Original: medium New: lug23dd medium
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by EX-4442 [ EX-4442 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12056 [ LU-12056 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12480 [ LU-12480 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-1996 [ LU-1996 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9727 [ LU-9727 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-4333 [ EX-4333 ]

            People

              arshad512 Arshad Hussain
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: