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

add native lfs tools support for project quota

Details

    • 9223372036854775807

    Description

      Currently, we are using chattr/lsattr for project quota
      interface, this have some problems:

      1)Client side need patched e2fsprogs or latest upstream
      e2fsprogs.
      2)Project quota will be no longer osd-ldiskfs based, ZFS
      too, zfs guys might dislike ldiskfs tool dependency for them.
      3)customers argue chattr might be a little dangerous.

      So we'd better add native lfs tools for project quota.

      Attachments

        Issue Links

          Activity

            [LU-10030] add native lfs tools support for project quota

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32112
            Subject: LU-10030 hsm: make changelog flag argument __u32
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 920d58535e5dc467a753c8cc1a83fd988337d29b

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32112 Subject: LU-10030 hsm: make changelog flag argument __u32 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 920d58535e5dc467a753c8cc1a83fd988337d29b

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32107
            Subject: LU-10030 idl: use proper ATTR/MDS_ATTR/MDS_OPEN flags
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a7e53750fb1fc117353c859785cd7cf379604968

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32107 Subject: LU-10030 idl: use proper ATTR/MDS_ATTR/MDS_OPEN flags Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a7e53750fb1fc117353c859785cd7cf379604968

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32106
            Subject: LU-10030 llite: use MDS_ATTR_ATTR_FLAG for ia_valid
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 7a076f2688c6fd30dd420b8829d359d1826835e4

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32106 Subject: LU-10030 llite: use MDS_ATTR_ATTR_FLAG for ia_valid Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7a076f2688c6fd30dd420b8829d359d1826835e4

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32099
            Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: ae23eab7537a11e499d6e3747dfa8e03d2f01c60

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32099 Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: ae23eab7537a11e499d6e3747dfa8e03d2f01c60

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32098
            Subject: LU-10030 utils: add lfs tool to change/list project of file
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 4c4c6097eeeb9785c6be9892cad823b2c0e077f8

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32098 Subject: LU-10030 utils: add lfs tool to change/list project of file Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 4c4c6097eeeb9785c6be9892cad823b2c0e077f8
            pjones Peter Jones added a comment -

            Looks like this is all landed for 2.11

            pjones Peter Jones added a comment - Looks like this is all landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29190/
            Subject: LU-10030 utils: add lfs tool to change/list project of file
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 022c5a9a77d4612dce28b76a7691b7af1cefd058

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29190/ Subject: LU-10030 utils: add lfs tool to change/list project of file Project: fs/lustre-release Branch: master Current Patch Set: Commit: 022c5a9a77d4612dce28b76a7691b7af1cefd058

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30072/
            Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 311e8d539b1932593462de428c46ea176b8905db

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30072/ Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl Project: fs/lustre-release Branch: master Current Patch Set: Commit: 311e8d539b1932593462de428c46ea176b8905db

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/30072
            Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 299b758caaf8c4710249ba9a28a9f84a7b055172

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/30072 Subject: LU-10030 llite: extend inode flags into GET/SETXATTR ioctl Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 299b758caaf8c4710249ba9a28a9f84a7b055172

            Hello Nathan Rutman,

            Thanks for good suggestion, link has been done, and will remove chattr from sanity-quota when refreshing patch.

            Thanks,
            Shilong

            wangshilong Wang Shilong (Inactive) added a comment - Hello Nathan Rutman, Thanks for good suggestion, link has been done, and will remove chattr from sanity-quota when refreshing patch. Thanks, Shilong

            Currently this is kind of a mess - chattr -P depends on special build, sanity-quota silently disables project quota tests without it, the manual doesn't explain that a special chattr is needed. This patch is a good improvement, but it doesn't quite finish - i.e. remove chattr from sanity-quota, link in LUDOC ticket for the manual fixes.

            nrutman Nathan Rutman added a comment - Currently this is kind of a mess - chattr -P depends on special build, sanity-quota silently disables project quota tests without it, the manual doesn't explain that a special chattr is needed. This patch is a good improvement, but it doesn't quite finish - i.e. remove chattr from sanity-quota, link in LUDOC ticket for the manual fixes.

            People

              wangshilong Wang Shilong (Inactive)
              wangshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: