all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH v3 pve-qemu qemu-server 0/6] bypass host page cache for restore on zvol
@ 2026-08-20  9:05 Christian Ebner
  2026-08-20  9:05 ` [PATCH v3 pve-qemu 1/1] pbs-restore: add optional no-cache flag to bypass host page cache Christian Ebner
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Christian Ebner @ 2026-08-20  9:05 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`.

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 (5):
  helpers: never cache `unknown` on failed kvm binary version check
  helpers: optionally get package version for kvm_user_version()
  helpers: add helper for min kvm package version comparison
  pbs-restore: set 'no-cache' on block devices backed by zfspool
  vma restore: skip page cache on block devices backed by zfspool

 src/PVE/QemuServer.pm         | 21 +++++++++++++++++-
 src/PVE/QemuServer/Helpers.pm | 41 ++++++++++++++++++++++++++++-------
 2 files changed, 53 insertions(+), 9 deletions(-)

-- 
2.47.3





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

end of thread, other threads:[~2026-08-20 13:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20  9:05 [PATCH v3 pve-qemu qemu-server 0/6] bypass host page cache for restore on zvol Christian Ebner
2026-08-20  9:05 ` [PATCH v3 pve-qemu 1/1] pbs-restore: add optional no-cache flag to bypass host page cache Christian Ebner
2026-08-20  9:05 ` [PATCH v3 qemu-server 2/6] helpers: never cache `unknown` on failed kvm binary version check Christian Ebner
2026-08-20  9:05 ` [PATCH v3 qemu-server 3/6] helpers: optionally get package version for kvm_user_version() Christian Ebner
2026-08-20  9:05 ` [PATCH v3 qemu-server 4/6] helpers: add helper for min kvm package version comparison Christian Ebner
2026-08-20  9:05 ` [PATCH v3 qemu-server 5/6] pbs-restore: set 'no-cache' on block devices backed by zfspool Christian Ebner
2026-08-20  9:05 ` [PATCH v3 qemu-server 6/6] vma restore: skip page cache " Christian Ebner
2026-08-20  9:56 ` [PATCH v3 pve-qemu qemu-server 0/6] bypass host page cache for restore on zvol Lukas Sichert
2026-08-20 12:07   ` Thomas Lamprecht
2026-08-20 12:36     ` Christian Ebner
2026-08-20 11:36 ` Lukas Sichert
2026-08-20 13:12 ` Christian Ebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal