public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH v4 pve-qemu qemu-server 0/3] bypass host page cache for restore on zvol
@ 2026-08-20 13:10 Christian Ebner
  2026-08-20 13:10 ` [PATCH v4 pve-qemu 1/3] pbs-restore: add optional no-cache flag to bypass host page cache Christian Ebner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Christian Ebner @ 2026-08-20 13:10 UTC (permalink / raw)
  To: pve-devel

This patch series skips writing to the host page cache for restores
to zvols, with the intention to avoid potential I/O delay issues for
other ZFS-backed VMs during page writeback on certain setups, as
reported in enterprise support and reproduced internally.

This patch series adds an optional no-cache parameter for pbs-restore
command invocation, setting the BDRV_O_NOCACHE flag for the block
device being restored to and sets `cache=none` for vma restores.

Since this seems to affect only zvol's, conditionally set the flag only
during restores to storages with type `zfspool`.

qemu-server now depends on pve-qemu-kvm in version 11.0.3-3 in order to
use the new --no-cache flag for pbs-restore.

pve-qemu:

Christian Ebner (1):
  pbs-restore: add optional no-cache flag to bypass host page cache

 ...no-cache-flag-to-skip-host-page-cach.patch | 72 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 73 insertions(+)
 create mode 100644 debian/patches/pve/0047-pbs-restore-add-no-cache-flag-to-skip-host-page-cach.patch

qemu-server:

Christian Ebner (2):
  pbs-restore: set 'no-cache' on block devices backed by zfspool
  vma restore: skip page cache on block devices backed by zfspool

 debian/control        |  2 +-
 src/PVE/QemuServer.pm | 18 +++++++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

-- 
2.47.3





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-21  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 13:10 [PATCH v4 pve-qemu qemu-server 0/3] bypass host page cache for restore on zvol Christian Ebner
2026-08-20 13:10 ` [PATCH v4 pve-qemu 1/3] pbs-restore: add optional no-cache flag to bypass host page cache Christian Ebner
2026-08-20 13:10 ` [PATCH v4 qemu-server 2/3] pbs-restore: set 'no-cache' on block devices backed by zfspool Christian Ebner
2026-08-21  7:44   ` Lukas Sichert
2026-08-20 13:10 ` [PATCH v4 qemu-server 3/3] vma restore: skip page cache " Christian Ebner

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