[libvirt] [PATCHv4 0/8] glusterfs storage pool

Eric Blake eblake at redhat.com
Sat Nov 23 03:20:22 UTC 2013


v3: https://www.redhat.com/archives/libvir-list/2013-November/msg00348.html

Depends on:
https://www.redhat.com/archives/libvir-list/2013-November/msg00955.html

Changes since then, addressing review feedback:
- rebase to other improvements in the meantime
- New patches 4-7
- pool changed to require <name>volume</name> to have no slash,
with subdirectory within a volume selected by <dir path=.../>
which must begin with slash
- documentation improved to match actual testing
- directories, symlinks are handled
- volume owner and timestamps are handled
- volume xml tests added, with several bugs in earlier version
fixed along the way
- compared gluster pool with a netfs pool to ensure both can
see the same level of detail from the same gluster storage

If you think it will help review, ask me to provide an interdiff
from v3 (although I have not done it yet).

Eric Blake (8):
  storage: initial support for linking with libgfapi
  storage: document gluster pool
  storage: implement rudimentary glusterfs pool refresh
  storage: add network-dir as new storage volume type
  storage: improve directory support in gluster pool
  storage: improve allocation stats reported on gluster files
  storage: improve handling of symlinks in gluster
  storage: probe qcow2 volumes in gluster pool

 configure.ac                                     |  21 ++
 docs/formatstorage.html.in                       |  15 +-
 docs/schemas/storagepool.rng                     |  26 +-
 docs/storage.html.in                             |  91 +++++-
 include/libvirt/libvirt.h.in                     |   2 +
 libvirt.spec.in                                  |  15 +
 m4/virt-gluster.m4                               |  28 ++
 po/POTFILES.in                                   |   1 +
 src/Makefile.am                                  |  10 +
 src/conf/storage_conf.c                          |  28 +-
 src/conf/storage_conf.h                          |   3 +-
 src/qemu/qemu_command.c                          |   6 +-
 src/qemu/qemu_conf.c                             |   4 +-
 src/storage/storage_backend.c                    |  14 +-
 src/storage/storage_backend.h                    |   6 +-
 src/storage/storage_backend_fs.c                 |   5 +-
 src/storage/storage_backend_gluster.c            | 381 +++++++++++++++++++++++
 src/storage/storage_backend_gluster.h            |  29 ++
 tests/storagepoolxml2xmlin/pool-gluster-sub.xml  |   9 +
 tests/storagepoolxml2xmlin/pool-gluster.xml      |   8 +
 tests/storagepoolxml2xmlout/pool-gluster-sub.xml |  12 +
 tests/storagepoolxml2xmlout/pool-gluster.xml     |  12 +
 tests/storagepoolxml2xmltest.c                   |   2 +
 tests/storagevolxml2xmlin/vol-gluster-dir.xml    |  13 +
 tests/storagevolxml2xmlout/vol-gluster-dir.xml   |  18 ++
 tests/storagevolxml2xmltest.c                    |   1 +
 tools/virsh-volume.c                             |   5 +-
 27 files changed, 740 insertions(+), 25 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-sub.xml
 create mode 100644 tests/storagepoolxml2xmlin/pool-gluster.xml
 create mode 100644 tests/storagepoolxml2xmlout/pool-gluster-sub.xml
 create mode 100644 tests/storagepoolxml2xmlout/pool-gluster.xml
 create mode 100644 tests/storagevolxml2xmlin/vol-gluster-dir.xml
 create mode 100644 tests/storagevolxml2xmlout/vol-gluster-dir.xml

-- 
1.8.3.1




More information about the libvir-list mailing list