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

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

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

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26463/
            Subject: LU-4017 quota: add project inherit attributes
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 2e92c57d71384d50f06baf5b6591d2809c8288b2

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

            Andreas Dilger (andreas.dilger@intel.com) merged in 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:
            Commit: a21925594cd18569f6618c02ea7b28c4afab477b

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) merged in 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: Commit: a21925594cd18569f6618c02ea7b28c4afab477b

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

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

            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

            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: