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

John Ferlan jferlan at redhat.com
Thu Jan 26 16:24:08 UTC 2017



On 01/17/2017 09:10 AM, Olga Krishtal wrote:
> 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
> 

This series with the adjustments I made as a result of the series I
posted related to moving API's to storage_util is now pushed. I believe
I got the right things merged - please double check though so we can
make adjustments sooner rather than later.  That is grab the top,
compile, test, etc. as I don't have VSTORAGE pools installed so the
changes don't do much for me!

John




More information about the libvir-list mailing list