From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id 735A21FF16E
	for <inbox@lore.proxmox.com>; Mon, 31 Mar 2025 15:41:57 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 8EEA86A1C;
	Mon, 31 Mar 2025 15:41:42 +0200 (CEST)
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Date: Mon, 31 Mar 2025 15:41:20 +0200
Message-Id: <20250331134128.168524-1-s.ivanov@proxmox.com>
X-Mailer: git-send-email 2.39.5
MIME-Version: 1.0
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.065 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: [pve-devel] [PATCH zfsonlinux 0/8] update to ZFS 2.3.1
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

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