]> xenbits.xensource.com Git - libvirt.git/commit
gluster: Fix "key" attribute for gluster volumes
authorPeter Krempa <pkrempa@redhat.com>
Mon, 24 Feb 2014 15:12:34 +0000 (16:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 1 Apr 2014 06:44:34 +0000 (08:44 +0200)
commit0f6c50b9b66affc19373f5aeb6d1add83877b897
tree9c96fe9c476b93d222e98cc5c71fe642f85431f2
parentfa5b5549cbc193534f82d2bf79250a74e852493a
gluster: Fix "key" attribute for gluster volumes

According to our documentation the "key" value has the following
meaning: "Providing an identifier for the volume which identifies a
single volume." The currently used keys for gluster volumes consist of
the gluster volume name and file path. This can't be considered unique
as a different storage server can serve a volume with the same name.

Unfortunately I wasn't able to figure out a way to retrieve the gluster
volume UUID which would avoid the possibility of having two distinct
keys identifying a single volume.

Use the full URI as the key for the volume to avoid the more critical
ambiguity problem and document the possible change to UUID.
docs/storage.html.in
src/storage/storage_backend_gluster.c