mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-10 13:57:38 +03:00
Fix RBD resize with krbd option enabled.
With krbd we resize volume and tell QemuSever to notify running QEMU with zero $size by returning undef. Signed-off-by: Dmitry Petuhov <mityapetuhov@gmail.com>
This commit is contained in:
parent
3ae8ac7861
commit
a4aee43380
@ -604,7 +604,7 @@ sub volume_size_info {
|
||||
sub volume_resize {
|
||||
my ($class, $scfg, $storeid, $volname, $size, $running) = @_;
|
||||
|
||||
return 1 if $running;
|
||||
return 1 if $running && !$scfg->{krbd};
|
||||
|
||||
my ($vtype, $name, $vmid) = $class->parse_volname($volname);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user