Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 9223372036854775807

    Description

      Main changes needed to support Linux kernel 5.14 include:

      • __set_page_dirty() is no longer exported
      • idmapped mounts support, which adds 'struct user_namespace *' to all VFS operations (since kernel 5.12)
      • '/* fallthrough */' hits implicit-fallthrough error with gcc version 11. Using the pseudo keyword 'fallthrough' to resolve the issue
      • needs to import namespace CRYPTO_INTERNAL (since kernel 5.12)

      Attachments

        Issue Links

          Activity

            [LU-15220] Linux kernel 5.14 support

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45566/
            Subject: LU-15220 lnet: use 'fallthrough' pseudo keyword for switch
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8fed107588b74c2a822421e7c0b136210d3dcf65

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45566/ Subject: LU-15220 lnet: use 'fallthrough' pseudo keyword for switch Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8fed107588b74c2a822421e7c0b136210d3dcf65

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45777/
            Subject: LU-15220 tests: avoid gcc-11 -Werror=stringop-overread warning
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c5fb44f5ecf8494cd5a497947981bd6905ddc084

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45777/ Subject: LU-15220 tests: avoid gcc-11 -Werror=stringop-overread warning Project: fs/lustre-release Branch: master Current Patch Set: Commit: c5fb44f5ecf8494cd5a497947981bd6905ddc084

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46270
            Subject: LU-15220 utils: use 'fallthrough' pseudo keyword for switch
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 22cf730b60f554d9cfd7ab74859284a8b5aaec6e

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46270 Subject: LU-15220 utils: use 'fallthrough' pseudo keyword for switch Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 22cf730b60f554d9cfd7ab74859284a8b5aaec6e

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46269
            Subject: LU-15220 lustre: use 'fallthrough' pseudo keyword for switch
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 0f36810ae522f8e7da6c5635f181cc8002204337

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46269 Subject: LU-15220 lustre: use 'fallthrough' pseudo keyword for switch Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0f36810ae522f8e7da6c5635f181cc8002204337

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45812/
            Subject: LU-15220 libcfs: fix panic_notifier_list undeclared error
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: fb545fa83837c1478ad41f752cf5d3e313b67c73

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45812/ Subject: LU-15220 libcfs: fix panic_notifier_list undeclared error Project: fs/lustre-release Branch: master Current Patch Set: Commit: fb545fa83837c1478ad41f752cf5d3e313b67c73

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45927/
            Subject: LU-15220 llite: Compat for set_pagevec_dirty
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8fdef1381ea07657d6689818b2897d69cb7e9c83

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45927/ Subject: LU-15220 llite: Compat for set_pagevec_dirty Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8fdef1381ea07657d6689818b2897d69cb7e9c83
            yujian Jian Yu added a comment -

            Hi Ihara,
            Please apply all of the un-merged patches in this ticket and those in LU-14651.

            yujian Jian Yu added a comment - Hi Ihara, Please apply all of the un-merged patches in this ticket and those in LU-14651 .

            yujian does head of https://review.whamcloud.com/#/c/45566/ contain all considerations of linux-5.14?
            I'm trying to build patch 45566 against 5.14.0-1018-oem (Ubuntu20.04), but still getting bunch of errors.

            sihara Shuichi Ihara added a comment - yujian does head of https://review.whamcloud.com/#/c/45566/ contain all considerations of linux-5.14? I'm trying to build patch 45566 against 5.14.0-1018-oem (Ubuntu20.04), but still getting bunch of errors.

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45814/
            Subject: LU-15220 utils: fix gcc-11 -Werror=mismatched-dealloc error
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 64ba2b18349b56c5d7ade944ea713bade84bc02e

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45814/ Subject: LU-15220 utils: fix gcc-11 -Werror=mismatched-dealloc error Project: fs/lustre-release Branch: master Current Patch Set: Commit: 64ba2b18349b56c5d7ade944ea713bade84bc02e
            yujian Jian Yu added a comment -

            Sure, Patrick. Thank you.

            yujian Jian Yu added a comment - Sure, Patrick. Thank you.

            Jian,

            Can you take that patch and test it on the newer kernels?  I don't have the right environments available.  Thanks!

            paf0186 Patrick Farrell added a comment - Jian, Can you take that patch and test it on the newer kernels?  I don't have the right environments available.  Thanks!

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: