Add support for 5.14

Bug #1944417 reported by Timo Aaltonen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Invalid
High
Colin Ian King
Hirsute
Fix Released
Low
Colin Ian King

Bug Description

== SRU Hirsute ==

[Impact]

Add support for 5.14 kernels in Hirsute for zfs-linux dkms module. zfs-linux needs compat changes in order to build against 5.14 kernel like oem-5.14 in focal:

    - Linux-5.12-compat-bio-bi_disk-member-moved.patch
    - Linux-5.12-compat-replace-bio_-_io_acct-with-disk_-_.patch
    - Linux-5.12-compat-idmapped-mounts.patch
    - Linux-5.12-update-bio_max_segs-replaces-BIO_MAX_PAGE.patch
    - Remove-iov_iter_advance-for-iter_write.patch
    - linux-5.13-compat-bdevops-revalidate_disk-removed.patch
    - Linux-5.14-compat-blk_alloc_disk.patch
    - Linux-5.14-compat-explicity-assign-set_page_dirty.patch
    - Linux-5.14-compat-META.patch

[Test Plan]

Run the ubuntu ZFS regressions tests, these cover smoke testing core functionality, POSIX fs semantics, subset of xfs tests and all mount options with file system stress-ng stress tests.

see git://kernel.ubuntu.com/ubuntu/autotest-client/tests/ubuntu_zfs* tests

[Where problems could occur]

in BIO and block allocation layers in ZFS. These are exercised extensively by the ZFS regression tests.

The 5.12..5.14 compat options are dkms build time config checks, so build testing the zfs-dkms package with 5.11 and 5.14 kernels will ensure these dkms build-time options are exercised.

[Other Info]

These Linux 5.12..5.14 compat patches are in Ubuntu impish and have had some testing already, so the regression potential is low as these code paths have already had some exposure to real work loads.

Tested on x86-64 with 5.11 and 5.14 kernels to exercise the build-time dkms config kernel detection paths. Exercised with the ubuntu zfs regression tests.

Changed in zfs-linux (Ubuntu Focal):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Colin Ian King (colin-king) wrote :

The current zfs-dkms in focal supports just 5.6, so from my understanding this means 5.7..5.14 compat backports and not just 5.14. Or am I misunderstanding the backport request? What dkms zfs pckage is being used for the oem-5.14 kernel at the moment?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

oh right.. my mistake, this is for impish, and oem-5.14 will pull that version once it supports the build

Timo Aaltonen (tjaalton)
Changed in zfs-linux (Ubuntu Focal):
status: In Progress → Invalid
Revision history for this message
Colin Ian King (colin-king) wrote :

I'll add it in for hirsute though. I'll use the bug number.

Changed in zfs-linux (Ubuntu Hirsute):
importance: Undecided → Low
assignee: nobody → Colin Ian King (colin-king)
Changed in zfs-linux (Ubuntu Hirsute):
status: New → In Progress
description: updated
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Timo, or anyone else affected,

Accepted zfs-linux into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zfs-linux/2.0.2-1ubuntu5.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in zfs-linux (Ubuntu Hirsute):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

current version in impish seems to build fine with 5.14

Changed in zfs-linux (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Ian King (colin-king) wrote :

Tested against 5.14 and 5.11.0-38 on amd64 against the ubuntu ZFS regression tests, all pass OK.

Marking this as verified.

tags: added: verification-done verification-done-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 2.0.2-1ubuntu5.3

---------------
zfs-linux (2.0.2-1ubuntu5.3) hirsute; urgency=medium

  * Add Linux 5.12 to 5.14 kernel compat changes (LP: #1944417)
    - 4800-Linux-5.12-compat-bio-bi_disk-member-moved.patch
    - 4801-Linux-5.12-compat-replace-bio_-_io_acct-with-disk_-_.patch
    - 4802-Linux-5.12-compat-idmapped-mounts.patch
    - 4803-Linux-5.12-update-bio_max_segs-replaces-BIO_MAX_PAGE.patch
    - 4804-Remove-iov_iter_advance-for-iter_write.patch
    - 4805-linux-5.13-compat-bdevops-revalidate_disk-removed.patch
    - 4806-Linux-5.14-compat-blk_alloc_disk.patch
    - 4807-Linux-5.14-compat-explicity-assign-set_page_dirty.patch
    - 4808-Linux-5.14-compat-META.patch

 -- Colin Ian King <email address hidden> Thu, 30 Sep 2021 11:38:12 +0100

Changed in zfs-linux (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for zfs-linux has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.