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
            pjones Peter Jones made changes -
            Link New: This issue is related to DDN-5659 [ DDN-5659 ]
            simmonsja James A Simmons made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.16.0 [ 15190 ]
            Fix Version/s Original: Upstream [ 12991 ]
            Fix Version/s Original: Lustre 2.15.0 [ 14791 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-15407 [ LU-15407 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-14776 [ LU-14776 ]
            simmonsja James A Simmons made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.15.0 [ 14791 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            chunteraa Chris Hunter (Inactive) made changes -
            Link New: This issue is related to DDN-1900 [ DDN-1900 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to DDN-1461 [ DDN-1461 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to NVDA-63 [ NVDA-63 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: