[PATCH RFC 00/27] Native external gluster snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series refactors and fixes stuff needed to support snapshots
on gluster-backed vm's.

The series is marked as RFC as docs for some of the changes are missing
and I'd like to start code review while I'll figure out the docs.


Peter Krempa (27):
  DO NOT APPLY UPSTREAM: Reproducer for disk snapshot crash
  qemu: snapshot: Avoid libvirtd crash when qemu crashes while
    snapshotting
  Revert "DO NOT APPLY UPSTREAM: Reproducer for disk snapshot crash"
  Revert "storage: fix omitted slash in gluster volume URI"
  storage: gluster: Properly fix missing slashes in volume paths
  snapshot: schema: Split out snapshot disk driver definition
  snapshot: Add support for specifying snapshot disk backing type
  snapshot: Test snapshot disk type specification
  storage: Add gluster pool filter and fix virsh pool listing
  storage: Avoid forward declaration of virStorageVolDelete
  storage: fs: Fix comment for virStorageBackendFileSystemDelete
  storage: Support deletion of volumes on gluster pools
  storage: lvm: Avoid forward decl of virStorageBackendLogicalDeleteVol
  storage: LVM: Separate creating of the volume from building
  storage: disk: Separate creating of the volume from building
  storage: RBD: Separate creating of the volume from building
  storage: Sheepdog: Separate creating of the volume from building
  storage: Introduce internal pool support
  storage: Add new argument for createVol backend API
  storage: gluster: Introduce dummy functions for creating a volume
  storage: Improve error message when a storage backend is missing
  maint: Fix messy include of libvirt_internal.h
  storage: Add internal API to create temporary storage pools and vols
  storage: Implement ephemeral storage APIs for local disk volumes
  storage: gluster: Support conversion of gluster volumes to temp
    volumes
  qemu: snapshot: Switch snapshot file deletion to the new storage API
  qemu: snapshot: Add support for external active snapshots on gluster

 docs/hvsupport.pl                                |   3 +
 docs/schemas/domainsnapshot.rng                  |  94 +++-
 include/libvirt/libvirt.h.in                     |   1 +
 src/Makefile.am                                  |   3 +-
 src/check-aclrules.pl                            |   3 +
 src/check-drivername.pl                          |   1 +
 src/conf/snapshot_conf.c                         |  25 +-
 src/conf/snapshot_conf.h                         |  15 +-
 src/conf/storage_conf.c                          |   7 +-
 src/conf/storage_conf.h                          |   1 +
 src/driver.h                                     |  14 +
 src/internal.h                                   |   2 -
 src/libvirt_internal.c                           |  71 +++
 src/libvirt_internal.h                           |  22 +
 src/libvirt_private.syms                         |   3 +
 src/libxl/libxl_conf.h                           |   1 +
 src/lxc/lxc_conf.h                               |   1 +
 src/qemu/qemu_command.c                          |   2 +-
 src/qemu/qemu_command.h                          |   9 +
 src/qemu/qemu_driver.c                           | 274 +++++++++--
 src/storage/storage_backend.c                    |   3 +-
 src/storage/storage_backend.h                    |   2 +-
 src/storage/storage_backend_disk.c               |  47 +-
 src/storage/storage_backend_fs.c                 |  36 +-
 src/storage/storage_backend_gluster.c            | 139 +++++-
 src/storage/storage_backend_logical.c            | 129 ++---
 src/storage/storage_backend_rbd.c                |  42 +-
 src/storage/storage_backend_sheepdog.c           |  32 +-
 src/storage/storage_driver.c                     | 597 +++++++++++++++++++----
 src/uml/uml_conf.h                               |   1 +
 tests/domainsnapshotxml2xmlin/disk_snapshot.xml  |  18 +
 tests/domainsnapshotxml2xmlout/disk_snapshot.xml |  18 +
 tools/virsh-pool.c                               |   9 +-
 33 files changed, 1341 insertions(+), 284 deletions(-)
 create mode 100644 src/libvirt_internal.c

-- 
1.8.5.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]