public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH zfsonlinux 0/8] update to ZFS 2.3.1
Date: Mon, 31 Mar 2025 15:41:20 +0200	[thread overview]
Message-ID: <20250331134128.168524-1-s.ivanov@proxmox.com> (raw)

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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-03-31 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 13:41 Stoiko Ivanov [this message]
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 1/8] update zfs submodule to 2.3.1 and refresh patches Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 2/8] Install new manpages for zpool-{ddtprune, prefetch} Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 3/8] d/copyright: remove files deleted by upstream Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 4/8] d/control: Bump library SONAMEs: libzfs4 -> libzfs6, libzpool5 -> libzpool6 Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 5/8] d/control: remove transitional dummy package spl Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 6/8] d/control: libzfslinux-dev Depends: libtirpc-dev, zlib1g-dev (Closes: #1095855) Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 7/8] d/control: add Multi-Arch attributes for binary packages Stoiko Ivanov
2025-03-31 13:41 ` [pve-devel] [PATCH zfsonlinux 8/8] cherry-pick fix for ABI break from zfs 2.3.2-staging Stoiko Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250331134128.168524-1-s.ivanov@proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal