Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • 10783

    Description

      OST (or MDT) pool feature enables users to group OSTs together to make object placement more flexible which is a very useful mechanism for system management. However the pool support of quota is not completed now which limits the use of it. Luckily current quota framework is really powerful and flexible which makes it possible to add new extension.

      We believe that pool support of quota will be helpful for a lot of use cases, so we are trying to complete it. With the help from the community, we've made some progress. The full patch will be a big one which involves quite a lot of components of Lustre. Any advice or feedback about the implementation will be really helpful.

      Attachments

        Issue Links

          Activity

            [LU-4017] Add project quota support feature

            Since RHEL tends to use 5 year old stacks we are looking at 2021 when we don't need patched kernels

            simmonsja James A Simmons added a comment - Since RHEL tends to use 5 year old stacks we are looking at 2021 when we don't need patched kernels

            Yes. That is true at this point. We are scoping out what is required to extend this work further.

            Exactly. SInce all ldiskfs (ext4) and kernel patches were merged in upstream linux kernel (linux-4.5), once lustre server supprots 4.5 kernel or above, we don't need patched server for project quota anymore. Meantime, ldisfks patches are still backportable for other kernel e.g. SLES12SP2 in the future work.
            Also, once zfs supports project id, project quota will be extanable to supoprt osd-zfs.

            ihara Shuichi Ihara (Inactive) added a comment - Yes. That is true at this point. We are scoping out what is required to extend this work further. Exactly. SInce all ldiskfs (ext4) and kernel patches were merged in upstream linux kernel (linux-4.5), once lustre server supprots 4.5 kernel or above, we don't need patched server for project quota anymore. Meantime, ldisfks patches are still backportable for other kernel e.g. SLES12SP2 in the future work. Also, once zfs supports project id, project quota will be extanable to supoprt osd-zfs.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23955/
            Subject: LU-4017 quota: add project quota support to lfs quota/setquota
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 04fb37c5d93162e5e268baf78f796a0140de403f

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23955/ Subject: LU-4017 quota: add project quota support to lfs quota/setquota Project: fs/lustre-release Branch: master Current Patch Set: Commit: 04fb37c5d93162e5e268baf78f796a0140de403f

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23954/
            Subject: LU-4017 quota: enable project quota limits
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 1398ed438568d2a07f09a59da8b7b23ff04ed4ea

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23954/ Subject: LU-4017 quota: enable project quota limits Project: fs/lustre-release Branch: master Current Patch Set: Commit: 1398ed438568d2a07f09a59da8b7b23ff04ed4ea

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26202/
            Subject: LU-4017 quota: add setting/getting project id function
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 39f63cf54c624d89439b5b473035c1afe35e10fa

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26202/ Subject: LU-4017 quota: add setting/getting project id function Project: fs/lustre-release Branch: master Current Patch Set: Commit: 39f63cf54c624d89439b5b473035c1afe35e10fa
            pjones Peter Jones added a comment -

            Yes. That is true at this point. We are scoping out what is required to extend this work further.

            pjones Peter Jones added a comment - Yes. That is true at this point. We are scoping out what is required to extend this work further.
            simmonsja James A Simmons added a comment - - edited

            Yes it appears this is not supported on any SLES systems as well. Project Quota appears to only be supported on RHEL systems with ldiskfs

            simmonsja James A Simmons added a comment - - edited Yes it appears this is not supported on any SLES systems as well. Project Quota appears to only be supported on RHEL systems with ldiskfs

            Does support for this new feature only exist on el7 servers with ldiskfs?

            bogl Bob Glossman (Inactive) added a comment - Does support for this new feature only exist on el7 servers with ldiskfs?

            I just noticed with this work its no longer possible to have patchless kernels for lustre server side.

            simmonsja James A Simmons added a comment - I just noticed with this work its no longer possible to have patchless kernels for lustre server side.

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/26581
            Subject: LU-4017 tune2fs: fix BUGs of tuning project quota
            Project: tools/e2fsprogs
            Branch: master-lustre
            Current Patch Set: 1
            Commit: 0ee8257e2b538ce9d74e20511ba0a5c71d3cf542

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/26581 Subject: LU-4017 tune2fs: fix BUGs of tuning project quota Project: tools/e2fsprogs Branch: master-lustre Current Patch Set: 1 Commit: 0ee8257e2b538ce9d74e20511ba0a5c71d3cf542

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25812/
            Subject: LU-4017 quota: add project id support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 97fbb61dbe261a389897779ae376cfc3808442cf

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25812/ Subject: LU-4017 quota: add project id support Project: fs/lustre-release Branch: master Current Patch Set: Commit: 97fbb61dbe261a389897779ae376cfc3808442cf

            People

              niu Niu Yawei (Inactive)
              lixi Li Xi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: