[libvirt] [PATCH RFC 02/22] storage: Store gluster volume name separately

Eric Blake eblake at redhat.com
Wed May 7 03:37:54 UTC 2014


On 05/06/2014 07:36 AM, Peter Krempa wrote:
> The gluster volume name was previously stored as part of the source path
> string. This isn't a good idea when we want to start to deal with
> resolving of relative paths on gluster as a storage volume can't
> actually be changed by ../-ing it.
> 
> Parse and store the volume name separately for gluster storage volumes
> and use the newly stored variable appropriately.
> ---
>  src/conf/domain_conf.c                | 33 ++++++++++++++++++++++++++++++++-
>  src/qemu/qemu_command.c               | 19 ++++++++++++++-----
>  src/storage/storage_backend_gluster.c | 27 ++++++++-------------------
>  src/util/virstoragefile.c             |  1 +
>  src/util/virstoragefile.h             |  1 +
>  5 files changed, 56 insertions(+), 25 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140506/8a4ba80a/attachment-0001.sig>


More information about the libvir-list mailing list