[libvirt] [PATCH 0/3] Multiple fixes related to lookup of gluster volumes

Eric Blake eblake at redhat.com
Mon Feb 24 18:06:39 UTC 2014


On 02/24/2014 08:21 AM, Peter Krempa wrote:
> Peter Krempa (3):
>   storage: Don't lie about path used to look up in error message
>   util: file: Don't sanitize URI protocol separator in
>     virFileSanitizePath
>   gluster: Fix "key" attribute for gluster volumes

I haven't seen this one in my inbox yet but did see it online (don't
know where the delay is occurring).  My gut reaction is that patch 3/3
is wrong, and that we should instead fix the documentation.

We've already released code with 'key' being non-unique and it is likely
that clients have already come to rely/deal with that.  Changing what we
stick in the key now without good justification may be worse than the
notion of "fixing it to make things globally unique".  Global uniqueness
is easy for files in the local file system, but a lot harder for
distributed network filesystems.  So merely documenting that key may not
be unique may be the better approach.

-- 
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/20140224/0b7ff5cf/attachment-0001.sig>


More information about the libvir-list mailing list