]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: gluster: Support multiple hosts in backend functions
authorPeter Krempa <pkrempa@redhat.com>
Fri, 22 Jul 2016 07:48:51 +0000 (09:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jul 2016 11:33:10 +0000 (13:33 +0200)
commitf1bbc7df4a9959e09679486c769e12f82d443d9a
treeae83822d0409275ab0b1dfb3adf87fbd5a8a9eb2
parent1575f3e8d32b6049ec399cfb54ab36f4d0a0cb00
storage: gluster: Support multiple hosts in backend functions

As gluster natively supports multiple hosts for failover reasons we can
easily add the support to the storage driver code in libvirt.

Extract the code setting an individual host into a separate function and
call them in a loop. The new code also tries to keep the debug log
entries sane.
src/storage/storage_backend_gluster.c