[pve-devel] [PATCH zfsonlinux 0/8] update to ZFS 2.3.1
Stoiko Ivanov
s.ivanov at proxmox.com
Mon Mar 31 15:41:20 CEST 2025
the following patchset updates ZFS to version 2.3.1, and synchronizes our
packaging with upstream debian[0], where it makes sense.
Apart from the usual patch-refreshing and updating of the submodule the
patches include:
* one ZFS-upstream fix from 2.3.2-staging[1] - fixing userspace<->kernel
breakage I noticed while running replication with an old kernel pinned
* those patches in debian-upstream which are not related to usrmerge (will
send those in a separate series addressing usrmerge for our packaging
before our first trixie release)
Tested this minimally on 2 VMs. also ran some minimal tests with
different versions for kernel and userspace (2.2.7 vs. 2.3.1), as this
should cover users pinning an older kernel.
Apart from upstreams changelogs one change that might be relevant in our
use-cases - or that should be noted in our release-notes is that the
default zfs_arc_max value changed (for large amounts of memory it's all
apart from 1G) :
https://github.com/openzfs/zfs/commit/6a629f32344468ae81b264055916641480cb438d
This is accompanied by a change that marks most ARC memory as reclaimable:
https://github.com/openzfs/zfs/commit/d4b5517ef95948d22a26376768442a59116fa4e7
looked up after skimming through:
https://github.com/openzfs/zfs/issues/17052
[0] https://salsa.debian.org/zfsonlinux-team/zfs/
[1] https://github.com/openzfs/zfs/pull/17137
Stoiko Ivanov (8):
update zfs submodule to 2.3.1 and refresh patches
Install new manpages for zpool-{ddtprune,prefetch}
d/copyright: remove files deleted by upstream
d/control: Bump library SONAMEs: libzfs4 -> libzfs6, libzpool5 ->
libzpool6
d/control: remove transitional dummy package spl
d/control: libzfslinux-dev Depends: libtirpc-dev, zlib1g-dev (Closes:
#1095855)
d/control: add Multi-Arch attributes for binary packages
cherry-pick fix for ABI break from zfs 2.3.2-staging
Makefile | 5 +-
debian/control | 51 +-
debian/copyright | 7 -
.../{libzfs4linux.docs => libzfs6linux.docs} | 0
...nux.install.in => libzfs6linux.install.in} | 0
...errides => libzfs6linux.lintian-overrides} | 0
...ibzpool5linux.docs => libzpool6linux.docs} | 0
...x.install.in => libzpool6linux.install.in} | 0
...rides => libzpool6linux.lintian-overrides} | 0
...META-and-DCH-consistency-in-autoconf.patch | 2 +-
.../0002-always-load-ZFS-module-on-boot.patch | 2 +-
...o-the-zed-binary-on-the-systemd-unit.patch | 2 +-
...ith-d-dev-disk-by-id-in-scan-service.patch | 2 +-
debian/patches/0005-Enable-zed-emails.patch | 2 +-
.../0006-dont-symlink-zed-scripts.patch | 2 +-
...md-unit-for-importing-specific-pools.patch | 6 +-
...-move-manpage-arcstat-1-to-arcstat-8.patch | 4 +-
...-guard-access-to-freshly-introduced-.patch | 439 ---------------
...ten-bounds-for-noalloc-stat-availab.patch} | 4 +-
...runcate_shares-without-etc-exports.d.patch | 77 ---
...rrectly-detect-flush-requests-17131.patch} | 11 +-
...-use-LVM-autoactivation-for-activat.patch} | 7 +-
...ount-matches-and-injections-for-each.patch | 500 ++++++++++++++++++
...ops-d_revalidate-now-takes-four-args.patch | 103 ----
...14-BLK_MQ_F_SHOULD_MERGE-was-removed.patch | 44 --
debian/patches/series | 11 +-
debian/zfsutils-linux.install | 2 +
upstream | 2 +-
28 files changed, 550 insertions(+), 735 deletions(-)
rename debian/{libzfs4linux.docs => libzfs6linux.docs} (100%)
rename debian/{libzfs4linux.install.in => libzfs6linux.install.in} (100%)
rename debian/{libzfs4linux.lintian-overrides => libzfs6linux.lintian-overrides} (100%)
rename debian/{libzpool5linux.docs => libzpool6linux.docs} (100%)
rename debian/{libzpool5linux.install.in => libzpool6linux.install.in} (100%)
rename debian/{libzpool5linux.lintian-overrides => libzpool6linux.lintian-overrides} (100%)
delete mode 100644 debian/patches/0009-arc-stat-summary-guard-access-to-freshly-introduced-.patch
rename debian/patches/{0011-zpool-status-tighten-bounds-for-noalloc-stat-availab.patch => 0009-zpool-status-tighten-bounds-for-noalloc-stat-availab.patch} (94%)
delete mode 100644 debian/patches/0010-Fix-nfs_truncate_shares-without-etc-exports.d.patch
rename debian/patches/{0012-linux-zvols-correctly-detect-flush-requests.patch => 0010-linux-zvols-correctly-detect-flush-requests-17131.patch} (88%)
rename debian/patches/{0013-contrib-initramfs-use-LVM-autoactivation-for-activat.patch => 0011-contrib-initramfs-use-LVM-autoactivation-for-activat.patch} (92%)
create mode 100644 debian/patches/0012-Revert-zinject-count-matches-and-injections-for-each.patch
delete mode 100644 debian/patches/0014-Linux-6.14-dops-d_revalidate-now-takes-four-args.patch
delete mode 100644 debian/patches/0015-Linux-6.14-BLK_MQ_F_SHOULD_MERGE-was-removed.patch
--
2.39.5
More information about the pve-devel
mailing list