[pve-devel] [PATCH] rbd : set shared as default

Dietmar Maurer dietmar at proxmox.com
Wed Jun 6 12:19:55 CEST 2012


committed, thanks.

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier
> Sent: Mittwoch, 06. Juni 2012 07:11
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] rbd : set shared as default
> 
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  PVE/Storage/Plugin.pm |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index
> 71ed6a1..88d98bb 100644
> --- a/PVE/Storage/Plugin.pm
> +++ b/PVE/Storage/Plugin.pm
> @@ -300,7 +300,7 @@ sub parse_config {
>  	    $d->{content} = $def->{content}->[1] if !$d->{content};
>  	}
> 
> -	if ($type eq 'iscsi' || $type eq 'nfs') {
> +	if ($type eq 'iscsi' || $type eq 'nfs' || $type eq 'rbd' ) {
>  	    $d->{shared} = 1;
>  	}
>      }
> --
> 1.7.2.5
> 
> _______________________________________________
> 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