[pve-devel] [PATCH-SERIES qemu-server/storage] improve RBD resize

Fiona Ebner f.ebner at proxmox.com
Fri Apr 28 14:32:06 CEST 2023


Make the way the block_resize QMP command is used consistent with
what other block device backed storages like ZFS and LVM(thin) do.

Avoid the --allow-shrink flag that should never be required in our
code and avoid passing floating point numbers to the rbd resize
command.


qemu-server:

Fiona Ebner (1):
  block resize: avoid passing zero size to QMP command

 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


pve-storage:

Fiona Ebner (2):
  rbd: don't specify allow-shrink flag
  rbd: volume resize: avoid passing floating point value to rbd

 PVE/Storage/RBDPlugin.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.30.2






More information about the pve-devel mailing list