[libvirt] [PATCH 1/2] Added new filesystem glusterfs

Daniel P. Berrange berrange at redhat.com
Tue Jul 7 16:51:36 UTC 2009


On Tue, Jul 07, 2009 at 05:46:19AM -0700, Harshavardhana wrote:
> Added new enum for glusterfs, another netfs based filesystem. 
> 
> ---
>  src/storage_conf.c |    2 +-
>  src/storage_conf.h |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

ACK

> 
> diff --git a/src/storage_conf.c b/src/storage_conf.c
> index 5f724dc..16ed906 100644
> --- a/src/storage_conf.c
> +++ b/src/storage_conf.c
> @@ -68,7 +68,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
>  
>  VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
>                VIR_STORAGE_POOL_NETFS_LAST,
> -              "auto", "nfs")
> +              "auto", "nfs", "glusterfs")
>  
>  VIR_ENUM_IMPL(virStoragePoolFormatDisk,
>                VIR_STORAGE_POOL_DISK_LAST,
> diff --git a/src/storage_conf.h b/src/storage_conf.h
> index 8a4fed2..27dc4a7 100644
> --- a/src/storage_conf.h
> +++ b/src/storage_conf.h
> @@ -151,7 +151,6 @@ struct _virStoragePoolSourceHost {
>      int protocol;
>  };
>  
> -
>  /*
>   * Available extents on the underlying storage
>   */
> @@ -366,6 +365,7 @@ VIR_ENUM_DECL(virStoragePoolFormatFileSystem)
>  enum virStoragePoolFormatFileSystemNet {
>      VIR_STORAGE_POOL_NETFS_AUTO = 0,
>      VIR_STORAGE_POOL_NETFS_NFS,
> +    VIR_STORAGE_POOL_NETFS_GLUSTERFS,
>      VIR_STORAGE_POOL_NETFS_LAST,
>  };
>  VIR_ENUM_DECL(virStoragePoolFormatFileSystemNet)
> -- 
> 1.6.0.6
> 
> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list