Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13783

Support for linux kernel version 5.8

Details

    • Task
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      Now that Linux 5.8 is in the stablization phase it makes sense to support compiling against it.

      There are several changes that we need to adjust for.  Some are easy, some require more work.

      Linux 5.8:

      • removes the fmr_pool API. 
      • doesn't use mmap_sem directly any more - use "mmap_read_lock()" and similar
      • kernel_setsockopt() has gone - need to use more direct access.
      • rdma_reject() needs a new "reason for reject" arg
      • NR_UNSTABLE_NFS has gone. Use NR_WRITEBACK instead
      • 'dummy_context' in fscrypt has changed to "get_dummy_context", and fscrypt_dummy_context is now fsctype_get_dummy_context
      • unexport kallsyms_lookup_name() and kallsyms_on_each_symbol()

       Also:

      • __vmalloc() now only has 2 args.
      • FIELD_SIZEOF is gone, use sizeof_field
      • blkcipher is gone,, use skcipher
      • cached rb_tree changes
      • sysctl handlers like proc_doinvec now take a kernel pointer rather than a __user pointer

      Attachments

        Issue Links

          Activity

            [LU-13783] Support for linux kernel version 5.8

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46238/
            Subject: LU-13783 sec: support of native Ubuntu 20.04 HWE 5.8 kernel
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: bf2461ba145efdfc7d1516a1608a034b1d6e30a2

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46238/ Subject: LU-13783 sec: support of native Ubuntu 20.04 HWE 5.8 kernel Project: fs/lustre-release Branch: master Current Patch Set: Commit: bf2461ba145efdfc7d1516a1608a034b1d6e30a2

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46238
            Subject: LU-13783 sec: start of native Ubuntu 20.04 HWE 5.8 kernel support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f6c43edceb2b2955da7e0054e7de1f36fe617d8b

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46238 Subject: LU-13783 sec: start of native Ubuntu 20.04 HWE 5.8 kernel support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f6c43edceb2b2955da7e0054e7de1f36fe617d8b

            One patch left

            simmonsja James A Simmons added a comment - One patch left

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43876/
            Subject: LU-13783 osd-ldiskfs: use alloc_file_pseudo to create fake files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b0f150eba4c2ced44c3a41bcb7cfc7517f7b31f1

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43876/ Subject: LU-13783 osd-ldiskfs: use alloc_file_pseudo to create fake files Project: fs/lustre-release Branch: master Current Patch Set: Commit: b0f150eba4c2ced44c3a41bcb7cfc7517f7b31f1

            "Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/44888/
            Subject: LU-13783 ldiskfs: Add support for mainline 5.8 kernel
            Project: fs/lustre-release
            Branch: b2_14
            Current Patch Set:
            Commit: 4c591a8d8ed60a3ec2effbc08503bf02f5069192

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/44888/ Subject: LU-13783 ldiskfs: Add support for mainline 5.8 kernel Project: fs/lustre-release Branch: b2_14 Current Patch Set: Commit: 4c591a8d8ed60a3ec2effbc08503bf02f5069192

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/45223
            Subject: LU-13783 sec: beta test test_dummy_encryption=v2
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 9bcd9026d56b619dbec700167ca4aebff9310dbe

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/45223 Subject: LU-13783 sec: beta test test_dummy_encryption=v2 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9bcd9026d56b619dbec700167ca4aebff9310dbe

            "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44888
            Subject: LU-13783 ldiskfs: Add support for mainline 5.8 kernel
            Project: fs/lustre-release
            Branch: b2_14
            Current Patch Set: 1
            Commit: 571715766f3b11ee67a76c5553ec3144f57f695e

            gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44888 Subject: LU-13783 ldiskfs: Add support for mainline 5.8 kernel Project: fs/lustre-release Branch: b2_14 Current Patch Set: 1 Commit: 571715766f3b11ee67a76c5553ec3144f57f695e

            James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44087
            Subject: LU-13783 sec: support test_dummy_encryption=v2
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 144a6fa3cb138a18ac273386cdb21c36dcc8ff32

            gerrit Gerrit Updater added a comment - James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44087 Subject: LU-13783 sec: support test_dummy_encryption=v2 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 144a6fa3cb138a18ac273386cdb21c36dcc8ff32

            We still have the ldiskfs issue.

            simmonsja James A Simmons added a comment - We still have the ldiskfs issue.

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43778/
            Subject: LU-13783 osc: handle removal of NR_UNSTABLE_NFS
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: d9afe2862ee8fe6d5da0bed8b1a6a94c3a0cb97f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43778/ Subject: LU-13783 osc: handle removal of NR_UNSTABLE_NFS Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: d9afe2862ee8fe6d5da0bed8b1a6a94c3a0cb97f

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43880/
            Subject: LU-13783 procfs: fix improper prop_ops fields
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d106dfc1458702865118e73bfcdfc2ec2676a7d6

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43880/ Subject: LU-13783 procfs: fix improper prop_ops fields Project: fs/lustre-release Branch: master Current Patch Set: Commit: d106dfc1458702865118e73bfcdfc2ec2676a7d6

            People

              neilb Neil Brown
              neilb Neil Brown
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: