[pve-devel] [PATCH storage 2/5] move check for existing clones into own method

Dietmar Maurer dietmar at proxmox.com
Thu Sep 15 06:50:35 CEST 2016


Also note that this code is dangerous, because it does not
acquire a lock (and can thus return wrong results).
I see that you you still use it correctly
in vdisk_free, but it is maybe a bad idea to expos such method
to the outside?

> +sub volume_is_referenced_base {
> +    my ($cfg, $volid) = @_;
> +




More information about the pve-devel mailing list