Apologies if this isn't the place to ask this question...  This bug
seems to be only about backporting compatibilty for the current 0.7
module but my system seems to have ended up with 0.8.  This isn't a
problem for me but I would prefer that the userspace aligns with the
module so that new features (trim, encryption) can be used/configured.

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

# uname -a
Linux triplex 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 
2019 x86_64 x86_64 x86_64 GNU/Linux

# dpkg -S /lib/modules/5.3.0-26-generic/kernel/zfs/zfs.ko
linux-modules-5.3.0-26-generic: /lib/modules/5.3.0-26-generic/kernel/zfs/zfs.ko

# modinfo zfs | head
filename:       /lib/modules/5.3.0-26-generic/kernel/zfs/zfs.ko
version:        0.8.1-1ubuntu14.2
license:        CDDL
author:         OpenZFS on Linux
description:    ZFS
alias:          devname:zfs
alias:          char-major-10-249
srcversion:     7E9D1C5487A61F836F4A216
depends:        zlua,spl,znvpair,zcommon,icp,zunicode,zavl
retpoline:      Y

# apt-cache policy zfsutils-linux
zfsutils-linux:
  Installed: 0.7.5-1ubuntu16.7
  Candidate: 0.7.5-1ubuntu16.7
  Version table:
 *** 0.7.5-1ubuntu16.7 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     0.7.5-1ubuntu15 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

# apt-cache policy zfs-dkms
zfs-dkms:
  Installed: (none)
  Candidate: 0.7.5-1ubuntu16.7
  Version table:
     0.7.5-1ubuntu16.7 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
     0.7.5-1ubuntu15 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856704

Title:
  backport 5.3 zfs support to bionic for HWE kernel support

Status in spl-linux package in Ubuntu:
  Fix Committed
Status in zfs-linux package in Ubuntu:
  Fix Committed
Status in spl-linux source package in Bionic:
  Fix Committed
Status in zfs-linux source package in Bionic:
  Fix Committed

Bug description:
  == 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spl-linux/+bug/1856704/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to