Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0, Lustre 2.15.0
    • Lustre 2.15.0
    • None
    • Any system running 5.12 kernel.
    • 9223372036854775807

    Description

      The 5.12 Linux kernel has just been released. Moving the native Linux client to this version exposed various kernel API changes:

      1) Support of IDMAPPED mounts. The impact on Lustre is struct user_namespace is passed to all VFS operations.  You can read about this feature at - https://lwn.net/Articles/842423

      2) fscrypto API has been reworked.

      3) Linux kernel will not build UAPI headers with our CONF_T_* values.

      4) rdma_reject() returns an error string to print out.

      5) setsockopt uses a new sockptr_t abstract to handle both userland and kernel space at the same tim.

      Attachments

        Issue Links

          Activity

            [LU-14651] Linux kernel 5.12 support

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53503
            Subject: LU-14651 build: fix build for el7.9 kernels
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cc03199c61df217f7da249d9f9f3419e0333c671

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53503 Subject: LU-14651 build: fix build for el7.9 kernels Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cc03199c61df217f7da249d9f9f3419e0333c671

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47900/
            Subject: LU-14651 ldiskfs: add 5.11 kernel support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7919255685d2080d619df71eecfa1545211b4ddb

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47900/ Subject: LU-14651 ldiskfs: add 5.11 kernel support Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7919255685d2080d619df71eecfa1545211b4ddb

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47900
            Subject: LU-14651 ldiskfs: add 5.11 kernel support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: fcef425d3bf1236f6a3af7994b306f8425fff453

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47900 Subject: LU-14651 ldiskfs: add 5.11 kernel support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fcef425d3bf1236f6a3af7994b306f8425fff453
            yujian Jian Yu added a comment -

            No I never hit this issue before. Are you still hitting it?

            The issue is fixed in LU-15939.

            yujian Jian Yu added a comment - No I never hit this issue before. Are you still hitting it? The issue is fixed in LU-15939 .

            No I never hit this issue before. Are you still hitting it?

            simmonsja James A Simmons added a comment - No I never hit this issue before. Are you still hitting it?
            yujian Jian Yu added a comment -

            Hi simmonsja,

            With the patches in this ticket I can get Ubuntu 21 5.13 kernel clients working.

            After building Lustre codes on an Ubuntu 20.04 VirtualBox vm node with kernel 5.13.0-27-generic, I hit the following error while loading Lustre client module :

            # modprobe lustre
            modprobe: ERROR: could not insert 'lustre': Exec format error
            
            kernel: [187850.110155] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000cab2976e, val ffffffffc110f9f8
            

            Have you ever hit the above issue?

            yujian Jian Yu added a comment - Hi simmonsja , With the patches in this ticket I can get Ubuntu 21 5.13 kernel clients working. After building Lustre codes on an Ubuntu 20.04 VirtualBox vm node with kernel 5.13.0-27-generic, I hit the following error while loading Lustre client module : # modprobe lustre modprobe: ERROR: could not insert 'lustre': Exec format error kernel: [187850.110155] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000cab2976e, val ffffffffc110f9f8 Have you ever hit the above issue?
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46070/
            Subject: LU-14651 build: remove KALLSYMS build requirement
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8e04e4ff8a1d0807d107a65a2c1bf76aea9b4ce5

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46070/ Subject: LU-14651 build: remove KALLSYMS build requirement Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8e04e4ff8a1d0807d107a65a2c1bf76aea9b4ce5

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45938/
            Subject: LU-14651 llite: extend inode methods with user namespace arg
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0feec5a3c7d4518d5c563739124b202a6a0a99f7

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45938/ Subject: LU-14651 llite: extend inode methods with user namespace arg Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0feec5a3c7d4518d5c563739124b202a6a0a99f7

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46070
            Subject: LU-14651 build: remove KALLSYMS build requirement
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2901a756a1496e809627ad0d2e195256b8afbd4f

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46070 Subject: LU-14651 build: remove KALLSYMS build requirement Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2901a756a1496e809627ad0d2e195256b8afbd4f

            With the patches in this ticket I can get Ubuntu 21 5.13 kernel clients working.

            simmonsja James A Simmons added a comment - With the patches in this ticket I can get Ubuntu 21 5.13 kernel clients working.

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: