[libvirt] [PATCH v2 0/5] storage: Virtuozzo storage backend for storage pool

Olga Krishtal okrishtal at virtuozzo.com
Tue Jan 17 14:10:54 UTC 2017


This series of patches support pool and volume management within Virtuozzo Storage.
Virtuozzo Storage is a highly-available distributed software defined storage
with built-in replication and disaster recovery.
More information about vzstorage can be found here: https://openvz.org/Virtuozzo_Storage

>From client's point of view it looks like network attached storage (NFS or GlusterFS).
It supports the same volume formats as directory, nfs. Default format ifor volume is raw.
Because of such similarities all a lot of functions from storage backend fs
can be used with no change: all functions that deals with volumes and pool
refresh function.

>From the other hand, Virtuozzo storage demands special packages like vstorage-client
to be installed. So all functions that work with it are in separate file.

v2:
- resplitted patches
- all functions to work with Virtuozzo storage are in separate file
- added possibility to mout cluster for pool for ures/with specific perms.
- added documetation

Olga Krishtal (5):
  storage: adds with_storage_vstorage buils option
  storage: vstorage empty backend
  storage: vstorage pool operations
  storage: added vstorage pool backend volume functions
  storage: vstorage pool documentation and simple test

 configure.ac                                  |   5 +
 docs/formatstorage.html.in                    |   7 +-
 docs/schemas/storagepool.rng                  |  21 +
 docs/storage.html.in                          |  28 +-
 include/libvirt/libvirt-storage.h             |   1 +
 m4/virt-storage-vstorage.m4                   |  73 +++
 po/POTFILES.in                                |   1 +
 src/Makefile.am                               |   9 +
 src/conf/storage_conf.c                       |  17 +-
 src/conf/storage_conf.h                       |   1 +
 src/storage/storage_backend.c                 |   6 +
 src/storage/storage_backend_vstorage.c        | 888 ++++++++++++++++++++++++++
 src/storage/storage_backend_vstorage.h        |  27 +
 src/storage/storage_driver.c                  |   2 +
 tests/storagepoolxml2xmlin/pool-vstorage.xml  |  10 +
 tests/storagepoolxml2xmlout/pool-vstorage.xml |  18 +
 tests/storagepoolxml2xmltest.c                |   3 +
 tools/virsh-pool.c                            |   3 +
 tools/virsh.c                                 |   3 +
 19 files changed, 1118 insertions(+), 5 deletions(-)
 create mode 100644 m4/virt-storage-vstorage.m4
 create mode 100644 src/storage/storage_backend_vstorage.c
 create mode 100644 src/storage/storage_backend_vstorage.h
 create mode 100644 tests/storagepoolxml2xmlin/pool-vstorage.xml
 create mode 100644 tests/storagepoolxml2xmlout/pool-vstorage.xml

-- 
1.8.3.1




More information about the libvir-list mailing list