[pve-devel] applied: [PATCH qemu-server] avoid list context for volume_size_info calls

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 21 10:38:05 CET 2023


Am 21/03/2023 um 10:17 schrieb Fiona Ebner:
> With the recent pve-storage commit d70d814 ("api: fix get content call response
> type for RBD/ZFS/iSCSI volumes"), the volume_size_info call for RBD in
> list context is much slower than before (from a quick test, about twice as long
> without snapshots, even longer with snapshots and untested, but when using an
> external cluster with image not having the fast-diff feature, it should be worse
> still) and thus increases the likelihood to run into timeouts here.
> 
> None of the callers here actually need the more expensive call, so just
> avoid calling in list context.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
>  PVE/QemuServer.pm        | 6 +++---
>  PVE/VZDump/QemuServer.pm | 5 ++++-
>  2 files changed, 7 insertions(+), 4 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list