[pve-devel] [PATCH 3/7] resize disk : allow resize pending disk
Dietmar Maurer
dietmar at proxmox.com
Wed Dec 31 18:01:08 CET 2014
> - die "disk '$disk' does not exist\n" if !$conf->{$disk};
> + die "disk '$disk' does not exist\n" if !$conf->{$disk} &&
> !$conf->{pending}->{$disk};
> +
> + my $drive = undef;
Code gets really complex and clumsy if we implement such things. It that really
required? Why?
My plan is to turn on 'hotplug' by default, so that code will (almost) never
trigger?
More information about the pve-devel
mailing list