[pve-devel] pve-storage : volume_lock && volume_unlock

Alexandre DERUMIER aderumier at odiso.com
Mon Dec 3 08:53:29 CET 2012


>>I think you should not use the term 'lock/unlock' here. 
>>
>>Maybe something like: 
>>
>>volume_protect(true/false) 

volume_protect seem good. (as snapshot are not really readonly, and rbd already use protect for the rbd command)

I'll change that in my git. 




----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 3 Décembre 2012 06:22:43 
Objet: RE: [pve-devel] pve-storage : volume_lock && volume_unlock 

I think you should not use the term 'lock/unlock' here. 

Maybe something like: 

volume_protect(true/false) 

or: 

set_read_only(true/false) 


> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier 
> Sent: Donnerstag, 29. November 2012 10:39 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] pve-storage : volume_lock && volume_unlock 
> 
> This is needed to protect volumes when creating templates 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list