Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • Lustre 2.8.0
    • Lustre 2.6.0
    • rhel7
    • 13898

    Description

      tracker for 3.10 kernel support in rhel7

      The 3.10 kernel in the rhel7 rc2 image is quite different from the mainline upstream 3.10 in kernel.org. It includes many features from 3.12 and even 3.13 kernels. In general most of the recipe mentioned in LU-4416 for 3.12 kernels is needed in rhel7 too. The only 3.12 patch that isn't needed is http://review.whamcloud.com/9300.

      Establishing a separate tracker that will be specific to rhel7 as there are some mods that will only be relevant to the rhel7 kernel, and not 3.12 or later. One example is ldiskfs support. A new patch series specific to rhel7 will be needed.

      Attachments

        Issue Links

          Activity

            [LU-5022] support for 3.10 rhel7 linux kernel

            I am pretty sure all the needed changes from James' attachment are already in place in upstream quota code in el7. only 2 minor exceptions:

            1) the dqptr_sem deleted by the first patch still exists. all the references to it are gone, but the data structure was left in place. I'm assuming whoever ported this into el7 did it deliberately so I'm not willing to change it.

            2) the last patch adding in locking around the shrinker doesn't seem to apply or be relevant. there is no dqcache_shrink_scan() routine in el7 to be fixed up.

            bogl Bob Glossman (Inactive) added a comment - I am pretty sure all the needed changes from James' attachment are already in place in upstream quota code in el7. only 2 minor exceptions: 1) the dqptr_sem deleted by the first patch still exists. all the references to it are gone, but the data structure was left in place. I'm assuming whoever ported this into el7 did it deliberately so I'm not willing to change it. 2) the last patch adding in locking around the shrinker doesn't seem to apply or be relevant. there is no dqcache_shrink_scan() routine in el7 to be fixed up.

            Here are the quota upstream patches that the RHEL7 kernel needs. It might need some massaging to have it apply to the RHEL7 kernel.

            simmonsja James A Simmons added a comment - Here are the quota upstream patches that the RHEL7 kernel needs. It might need some massaging to have it apply to the RHEL7 kernel.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10249/
            Subject: LU-5022 ldiskfs: enable support for RHEL7
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: eaf30e35002bf3936cdf7bf83685552d854f0f88

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10249/ Subject: LU-5022 ldiskfs: enable support for RHEL7 Project: fs/lustre-release Branch: master Current Patch Set: Commit: eaf30e35002bf3936cdf7bf83685552d854f0f88

            Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/13067
            Subject: LU-5022 ldiskfs: cleanup ldiskfs_journal_dirty_metadata
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4a0457a9e3559c872faa59c5361d84a86d8ee71c

            gerrit Gerrit Updater added a comment - Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/13067 Subject: LU-5022 ldiskfs: cleanup ldiskfs_journal_dirty_metadata Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4a0457a9e3559c872faa59c5361d84a86d8ee71c

            Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/10249
            Subject: LU-5022 ldiskfs: enable support for RHEL7
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 20
            Commit: d6683a2dd978dafa350e4e58c45df55cf44fe68f

            gerrit Gerrit Updater added a comment - Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/10249 Subject: LU-5022 ldiskfs: enable support for RHEL7 Project: fs/lustre-release Branch: master Current Patch Set: 20 Commit: d6683a2dd978dafa350e4e58c45df55cf44fe68f
            mdiep Minh Diep added a comment - A closer look at the report, this patch hit a LBUG in https://testing.hpdd.intel.com/test_logs/16c19292-658a-11e4-8c86-5254006e85c2/show_text

            Oh I forgot but since SLES12 is now official we should make the RHEL7 ldiskfs patch use the patches from the LU-4416 SLES12 ldiskfs work like we originally did. Since RHEL7 changes far more often then SLES12 this can make sense plus this avoids the issue of SLES12 ldiskfs fixes being missed.

            simmonsja James A Simmons added a comment - Oh I forgot but since SLES12 is now official we should make the RHEL7 ldiskfs patch use the patches from the LU-4416 SLES12 ldiskfs work like we originally did. Since RHEL7 changes far more often then SLES12 this can make sense plus this avoids the issue of SLES12 ldiskfs fixes being missed.

            Now that the client work is done we should really discuss what is needed for proper server side support. This is are chance to push for a pathless server. First we need the quota performance enhancements. Those have been merged upstream as:

            commit b9ba6f94b2382ef832f97122976b73004f714714
            commit 9eb6463f31cf720deaf0e810cacc403d7720b10c
            commit 1ea06bec78a128adc995ca32bd906a6c9bb9cf91
            commit 606cdcca04a609ed4dfbfe788942de9477da556b
            commit d68aab6b8f572406aa93b45ef6483934dd3b54a6

            Which should engage RedHat to have these merged into their tree.

            We need to replace the dev_read_only patch with the work under LU-684. I haven't got around to it but now that the work for 2.7 is winding down I can take it up again.

            The bh_lru_size patch. I saw something go upstream but it seems to have been drop. It is a simple one line patch which we should push to get merged. Once merged it will be easy for RedHat to incorporate it into their tree.

            The block tunable patch. From the data posted in LU-20 I really think it is not a benefit and we should just drop it.

            Lastly we have the patch under LU-3406 (raid5-mmp-unplug) which I just publish on dm-devel mailing list. Again we have it merged into the RHEL tree once it is integrated upstream.

            simmonsja James A Simmons added a comment - Now that the client work is done we should really discuss what is needed for proper server side support. This is are chance to push for a pathless server. First we need the quota performance enhancements. Those have been merged upstream as: commit b9ba6f94b2382ef832f97122976b73004f714714 commit 9eb6463f31cf720deaf0e810cacc403d7720b10c commit 1ea06bec78a128adc995ca32bd906a6c9bb9cf91 commit 606cdcca04a609ed4dfbfe788942de9477da556b commit d68aab6b8f572406aa93b45ef6483934dd3b54a6 Which should engage RedHat to have these merged into their tree. We need to replace the dev_read_only patch with the work under LU-684 . I haven't got around to it but now that the work for 2.7 is winding down I can take it up again. The bh_lru_size patch. I saw something go upstream but it seems to have been drop. It is a simple one line patch which we should push to get merged. Once merged it will be easy for RedHat to incorporate it into their tree. The block tunable patch. From the data posted in LU-20 I really think it is not a benefit and we should just drop it. Lastly we have the patch under LU-3406 (raid5-mmp-unplug) which I just publish on dm-devel mailing list. Again we have it merged into the RHEL tree once it is integrated upstream.

            lbuild changes for rhel 7 server
            http://review.whamcloud.com/12289

            bogl Bob Glossman (Inactive) added a comment - lbuild changes for rhel 7 server http://review.whamcloud.com/12289
            bogl Bob Glossman (Inactive) added a comment - - edited

            minimum additional needed to build el7 servers:

            http://review.whamcloud.com/#/c/8116 - LU-3373 ext4_map_block support
            http://review.whamcloud.com/#/c/11088 - LU-5276 ldiskfs: Remove extents-mount-option patch
            http://review.whamcloud.com/#/c/10249 - LU-5022 ldiskfs: enable support for RHEL7

            e2fsprogs and lbuild changes for el7 server are still TBD.

            bogl Bob Glossman (Inactive) added a comment - - edited minimum additional needed to build el7 servers: http://review.whamcloud.com/#/c/8116 - LU-3373 ext4_map_block support http://review.whamcloud.com/#/c/11088 - LU-5276 ldiskfs: Remove extents-mount-option patch http://review.whamcloud.com/#/c/10249 - LU-5022 ldiskfs: enable support for RHEL7 e2fsprogs and lbuild changes for el7 server are still TBD.

            Yang can you post your RHEL7 test results. I like to compare them to my results from the SLES12/3.12 runs I do.

            simmonsja James A Simmons added a comment - Yang can you post your RHEL7 test results. I like to compare them to my results from the SLES12/3.12 runs I do.

            People

              bogl Bob Glossman (Inactive)
              bogl Bob Glossman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: