[libvirt] [RFC PATCHv2 0/2] gluster pools

Eric Blake eblake at redhat.com
Fri Oct 18 17:30:09 UTC 2013


This addresses the review from RFCv1 for splitting the glfs checks
to be different from the storage backend checks:
https://www.redhat.com/archives/libvir-list/2013-October/msg00645.html

I'm still just in RFC stage; wanting to make sure I have the
documentation correct for sample XML prior to actually coding
up the use of <glfs.h> from storage_backend_gluster.c.

Note that qemu's block/gluster.c documents that qemu expects
that when using glfs to bypass the file system, the image will
always be specified as:
 * file=gluster[+transport]://[server[:port]]/volname/image[?socket=...]
which means that there is no way to pass a direct gluster volume
as a raw block device to qemu (it is always a file embedded within
the gluster volume); hence my choice of making a single gluster
volume act as the storage pool.

Eric Blake (2):
  storage: initial support for linking with libgfapi
  storage: document gluster pool

 configure.ac                                 | 21 +++++++
 docs/formatstorage.html.in                   | 11 ++--
 docs/schemas/storagepool.rng                 | 21 +++++++
 docs/storage.html.in                         | 90 +++++++++++++++++++++++++++-
 libvirt.spec.in                              | 15 +++++
 m4/virt-gluster.m4                           | 26 ++++++++
 po/POTFILES.in                               |  1 +
 src/Makefile.am                              |  9 +++
 src/conf/storage_conf.c                      | 20 +++++--
 src/conf/storage_conf.h                      |  3 +-
 src/storage/storage_backend.c                |  6 ++
 src/storage/storage_backend.h                |  6 +-
 src/storage/storage_backend_gluster.c        | 46 ++++++++++++++
 src/storage/storage_backend_gluster.h        | 29 +++++++++
 tests/storagepoolxml2xmlin/pool-gluster.xml  |  8 +++
 tests/storagepoolxml2xmlout/pool-gluster.xml | 11 ++++
 tests/storagepoolxml2xmltest.c               |  1 +
 17 files changed, 311 insertions(+), 13 deletions(-)
 create mode 100644 m4/virt-gluster.m4
 create mode 100644 src/storage/storage_backend_gluster.c
 create mode 100644 src/storage/storage_backend_gluster.h
 create mode 100644 tests/storagepoolxml2xmlin/pool-gluster.xml
 create mode 100644 tests/storagepoolxml2xmlout/pool-gluster.xml

-- 
1.8.3.1




More information about the libvir-list mailing list