** Description changed: - 5.3 kernel functionality back through to 4.15 is required for 5.3 HWE - kernel support in ZFS and SPL modules. + == SRU Justification Bionic == + + The HWE 5.3 kernel requires ZFS + SPL to support dkms module build + functionality for kernels 4.15 through to 5.3. Basically, the ZFS+SPL + compat commits between 4.15 and 5.3 are required to allow the modules to + build on kernels upto and include the HWE 5.3 kernel. + + == The Fix == + + Backport of upstream commits: + + SPL: + - 0002-fix-spl-build-shrinker-callback-check.patch + - 0003-remove-deprecated-set-fs-pwd-check.patch + - 0004-Linux-4.18-compat-inode-timespec-timespec64.patch + - 0005-Linux-4.20-compat-current_kernel_time.patch + - 0006-Linux-4.18-compat-Use-ktime_get_coarse_real_ts64.patch + - 0007-Linux-5.0-compat-Use-totalram_pages.patch + - 0008-Linux-5.0-compat-Fix-SUBDIRs.patch + - 0009-Linux-4.20-compat-Fix-VERIFY-RW_READ_HELD-hash-mh_co.patch + - 0010-Linux-5.1-compat-get_ds-removed.patch + - 0011-Linux-5.0-compat-Use-totalhigh_pages.patch + - 0012-Linux-5.2-compat-rw_tryupgrade.patch + - 0013-Linux-5.3-compat-rw_semaphore-owner.patch + - 0014-Linux-5.3-compat-retire-rw_tryupgrade.patch + - 0015-Linux-5.3-compat-Makefile-subdir-m-no-longer-support.patch + - 0016-Linux-compat-4.16-SECTOR_SIZE.patch + - 0017-Linux-compat-spl-timespec_sub.patch + - 0018-deprecate-splat-rwlock-test6.patch + + ZFS: + - 3300-Linux-4.16-compat-inode_set_iversion.patch + - 3301-Linux-4.16-compat-use-correct-_dec_and_test.patch + - 3302-Linux-4.16-compat-get_disk_and_module.patch + - 3303-Linux-compat-4.16-blk_queue_flag_-set-clear.patch + - 3304-Linux-4.18-compat-inode-timespec-timespec64.patch + - 3305-Linux-4.14-compat-blk_queue_stackable.patch + - 3306-Linux-4.19-rc3-compat-Remove-refcount_t-compat.patch + - 3307-Linux-5.0-compat-access_ok-drops-type-parameter.patch + - 3308-Linux-5.0-compat-Use-totalram_pages.patch + - 3309-Linux-5.0-compat-Convert-MS_-macros-to-SB_.patch + - 3310-Linux-5.0-compat-Fix-SUBDIRs.patch + - 3311-Linux-5.0-compat-Disable-vector-instructions-on-5.0-.patch + - 3312-Linux-5.0-compat-Fix-bio_set_dev.patch + - 3313-Linux-5.0-compat-Remove-incorrect-ASSERT.patch + - 3314-Linux-5.0-compat-Use-totalhigh_pages.patch + - 3315-Linux-5.0-compat-ASM_BUG-macro.patch + - 3316-Linux-5.2-compat-rw_tryupgrade.patch + - 3317-Linux-5.2-compat-Directly-call-wait_on_page_bit.patch + - 3318-Linux-5.3-compat-Makefile-subdir-m-no-longer-support.patch + - 3319-Linux-5.3-Fix-switch-fall-though-compiler-errors.patch + - 3320-zpios-deprecate-current-kernel-time.patch + - 3321-add-compat-check-disk-size-change.patch + + == Testcase == + + Without these commits users who install kernels and kernel headers from + 4.16 through to 5.3 inclusive won't be able to build spl + zfs in Bionic + because of the lack of the kernel compat fixes. With the commits, zfs + + spl dkms modules can build cleanly and pass the ubuntu ZFS regression + tests found in the kernel team autotests git repository. + + == Risk == + + This is a sizeable backport that touches a fair amount of spl + zfs + kernel interfacing code. There is a risk that the backport may cause a + regression in functionality that has not been exercised by the ZFS + regression tests. This backport with the zfs regression testing ensures + that no regression in core zfs functionality has been found. It must + be noted that most of the patches are upstream compat fixes that are + known to be working with the latest ZFS that is being used in focal, so + we are confident the original compat changes work. + + Note that these updates have all been build tested on x86-64, arm64 and + s390x systems with kernels from 4.16 to 5.3 and regression tested with + the ubuntu zfs regression tests.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856704 Title: backport 5.3 zfs support to bionic for HWE kernel support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spl-linux/+bug/1856704/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
