zfs patches needed for 5.7

Bug #1872373 reported by satmandu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

As per https://github.com/openzfs/zfs/pull/10187 there is now a patch for Linux 5.7 compat: blk_alloc_queue(). Of course there may be more patches for the 5.7 series.

I've hacked up the patch to backport it to work with the 0.8.x series.

It appears to work: zfs, 0.8.3, 5.7.0-050700rc1-generic, x86_64: installed

The changes to zvol.c may be somewhat questionable.

Tags: patch
Revision history for this message
satmandu (satadru-umich) wrote :
Revision history for this message
satmandu (satadru-umich) wrote :

This is a script which can be used to update the zfs-dkms package locally.

I imagine it doesn't make sense to update the final package until later in the 5.7 rc series...

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch tested with 5.7.0-050700rc1-generic & zfs-dkms_0.8.3-1ubuntu11" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
satmandu (satadru-umich) wrote :

FYI it looks like support for 5.7 this will be part of the 0.8.4 release as per https://github.com/openzfs/zfs/pull/10209

Revision history for this message
satmandu (satadru-umich) wrote :

Linux 5.7 patches have now gone into https://github.com/openzfs/zfs/tree/zfs-0.8-release with the release of 0.8.4

Revision history for this message
Colin Ian King (colin-king) wrote :

My plan is to get this working for Groovy and then once we have some kernels built against the driver from the ZFS package and through the regressions tests I'll then consider SRU'ing them for Focal.

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

Thanks.

Please consider adding https://github.com/openzfs/zfs/pull/10163 and https://github.com/openzfs/zfs/pull/10184

When I made my patch series to get zfs 0.84 working on focal here is what I used:

#0001-Prevent-manual-builds-in-the-DKMS-source.patch
#0002-Check-for-META-and-DCH-consistency-in-autoconf.patch
0003-relocate-zvol_wait.patch
enable-zed.patch
#1004-zed-service-bindir.patch
2101-zfs-load-module.patch
#2200-add-zfs-0.6.x-ioctl-compat-shim.patch
3100-remove-libzfs-module-timeout.patch
3302-Use-obj-m-instead-of-subdir-m.patch
4001-zsys-support.patch
4100-disable-bpool-upgrade.patch
force-verbose-rules.patch

#unapplied/init-debian-openrc-workaround.patch # OpenRC users can apply this locally
#4550-Linux-5.5-compat-blkg_tryget.patch
#4600-Linux-5.6-compat-struct-proc_ops.patch
#4601-Linux-5.6-compat-timestamp_truncate.patch
#4602-Linux-5.6-compat-ktime_get_raw_ts64.patch
#4603-Linux-5.6-compat-time_t.patch
zfs-mount-container-start.patch
pr10163.patch
pr10184.patch
overlay.patch

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 0.8.3-1ubuntu14

---------------
zfs-linux (0.8.3-1ubuntu14) groovy; urgency=medium

  * Backport 5.7 compat changes (LP: #1872373)
   - backport of upstream commit 68dde63d138882860109178f4ab0b7b1b1bb3cfd
     ("Linux 5.7 compat: blk_alloc_queue()")

 -- Colin Ian King <email address hidden> Mon, 18 May 2020 16:13:22 +0100

Changed in zfs-linux (Ubuntu):
status: In Progress → Fix Released
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.