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/47670/
            Subject: LU-13783 sec: support of native Ubuntu 20.04 HWE 5.8 kernel
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: b2608aff6654f329c19414377a898f2d0201435c

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

            "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47670
            Subject: LU-13783 sec: support of native Ubuntu 20.04 HWE 5.8 kernel
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 5eb9eba57fd31eba1148b33256d807850d2d4bb1

            gerrit Gerrit Updater added a comment - "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47670 Subject: LU-13783 sec: support of native Ubuntu 20.04 HWE 5.8 kernel Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 5eb9eba57fd31eba1148b33256d807850d2d4bb1

            Work is completed.

            simmonsja James A Simmons added a comment - Work is completed.

            "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

            People

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

              Dates

                Created:
                Updated:
                Resolved: