>>OK for me. Maybe we van add an (storage) option to enable/disable locking 
>>behavior? 

yes, sure.

any idea for option name ?

lock: 1|0 ?
objectmap: 1|0 ?

-note that both are 2 differents options, but objectmap need exclusive lock 
enable to get it working.

I'm not sure we need an explicit lock option, maybe objectmap option is enough. 
(with implicit locking)



I also need to check how it's work with templates and linked clone.
(parent: lock off  linked clone : lock on ???? )

----- Mail original -----
De: "dietmar" <[email protected]>
À: "aderumier" <[email protected]>, "pve-devel" <[email protected]>
Envoyé: Mardi 14 Avril 2015 07:15:18
Objet: Re: [pve-devel] ceph hammer : new objetmap features (fast resize, 
snapshot, ....)

> I would like to implement this, but I don't know which is the best place for 
> this option: 
> 
> -storage.cfg (rbd plugin) ? 
> 
> this will enable exclusive locking globally, 
> but maybe users want to share some rbd volume across multiple vms (with ocfs2 
> on top of rbd virtio device for example) 

OK for me. Maybe we van add an (storage) option to enable/disable locking 
behavior? 

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to