** Also affects: zfs-linux (Ubuntu Hirsute)
Importance: Medium
Assignee: Colin Ian King (colin-king)
Status: In Progress
** Also affects: zfs-linux (Ubuntu Groovy)
Importance: Undecided
Status: New
--
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/1899826
Title:
backport upstream fixes for 5.9 Linux support
Status in zfs-linux package in Ubuntu:
In Progress
Status in zfs-linux source package in Groovy:
New
Status in zfs-linux source package in Hirsute:
In Progress
Bug description:
== SRU Request Groovy ==
Upstream zfs supports 5.9. it would be useful to backport these for
users who want newer kernels.
== The Fix ==
Although 6 fixes are required, 2 add changes that get removed by a
later change, so one can backport this with just the following 4
changes:
1823c8fe6a4a20971463e9b51615dad412aea9a9 ("Linux 5.9 compat: add
linux/blkdev.h include")
3e29e1971bbb4ab63dafeb592b747ef56bad3534 ("Linux 5.9 compat:
NR_SLAB_RECLAIMABLE")
d817c17100183b266aa6bf8b868e016805d51d16 ("Linux 5.9 compat: make_request_fn
replaced with submit_bio")
4b59c195ffbaebfdd5f0971a54613c0ed7c42005 ("Increase Supported Linux Kernel to
5.9")
== Regression potential ==
The first patch just includes blkdev.h to workaround a build warning,
so the results in no functional change to the working code.
The second patch removes legacy arc page free estimation by droping
the accounting for inactive anonymous pages and reclaimable pages on
the slab. This change removes a very minor component of the free
memory calculation and speeds up arc free stats calculations. There is
a potential that this small change in free page calculation may impact
systems where memory is more constrained, but the change is so small I
believe this really is insignificant.
The third patch is a build time detection of the kernel block
allocation queue due to API changes, so should not change behaviour
for current 5.8 kernels, only change behaviour for newer kernels with
the newer kernel API. Hence for the released 5.8 groovy kernel the
code will not be changed, so the regression potential for 5.8 is zero.
The final patch changes the META build data to allow the driver to
build on newer kernels, so the risk on this change is effectively
zero.
== Testing ==
Run the autotest client tests for ZFS tests:
ubuntu_zfs_smoke_tests (general functionality smoke tests)
ubuntu_zfs_fstests (file system semantics tests)
ubuntu_zfs_xfs_generic (subset of XFS tests on ZFS)
ubuntu_zfs_stress (stress-ng file system tests on a wide range of ZFS mount
options)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1899826/+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