zfsonlinux/debian/patches
Stoiko Ivanov 595cc7bfa1 cherry-pick fix for overgrown dnode cache
the following patch seems applicable and might fix an issue observed
in our enterprise support a while ago. containers run in their own
cgroups, thus were probably not scanned by the kernel shrinker - this
resulted in Dnode cache numbers of 300+% reported in arc_summary.

FWICT the issue was introduced in ZFS 2.2.7
(commit 5f73630e9cbea5efa23d16809f06e0d08523b241 see:
https://github.com/openzfs/zfs/issues/17052#issuecomment-3065907783)
but I assume that the increase of zfs_arc_max by default makes it
trigger OOMs far easier.

The discussion of the PR was quite instructive:
https://github.com/openzfs/zfs/pull/17542

minimally tested on a pair of trixie VMs (building + running
replication of a couple of containers)

Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Link: https://lore.proxmox.com/20250723181453.1082366-1-s.ivanov@proxmox.com
2025-07-23 20:45:14 +02:00
..
0001-Check-for-META-and-DCH-consistency-in-autoconf.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0002-always-load-ZFS-module-on-boot.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0003-Fix-the-path-to-the-zed-binary-on-the-systemd-unit.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0004-import-with-d-dev-disk-by-id-in-scan-service.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0005-Enable-zed-emails.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0006-dont-symlink-zed-scripts.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0007-Add-systemd-unit-for-importing-specific-pools.patch update zfs submodule to 2.3.1 and refresh patches 2025-05-14 20:51:44 +02:00
0008-Patch-move-manpage-arcstat-1-to-arcstat-8.patch update ZFS module to 2.3.3 2025-06-24 13:58:59 +02:00
0009-zpool-status-tighten-bounds-for-noalloc-stat-availab.patch update ZFS module to 2.3.3 2025-06-24 13:58:59 +02:00
0010-enforce-arc_dnode_limit.patch cherry-pick fix for overgrown dnode cache 2025-07-23 20:45:14 +02:00
series cherry-pick fix for overgrown dnode cache 2025-07-23 20:45:14 +02:00