[pve-devel] update disk config, always rescan all the storage, can we avoid that ?
Dietmar Maurer
dietmar at proxmox.com
Mon Jun 3 11:43:13 CEST 2013
> >>AFAIK we only call that if someone want to add an existing volid. In
> >>that case we need to activate the volid, and check if the volume really
> exists.
> >>
> >>What do you want to avoid exactly?
>
> Avoid to call create_disks if we update an existing disk.
>
> If I understand, the only case we need to call it, is if we update an existing
> disk by a different disk, or reassign an unused disk ?
Yes. But otherwise $settings does not contain drives, so calling creat_disks shoukd have no effect?
More information about the pve-devel
mailing list