[libvirt] [PATCH v1 00/11] Couple of storage driver improvements

Michal Privoznik posted 11 patches 5 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1558707820.git.mprivozn@redhat.com
Test syntax-check passed
src/conf/virstorageobj.c               | 89 ++++++++++++++++++++------
src/conf/virstorageobj.h               | 17 ++++-
src/libvirt_private.syms               |  4 +-
src/storage/storage_backend_disk.c     | 11 +++-
src/storage/storage_backend_fs.c       | 13 +++-
src/storage/storage_backend_logical.c  | 15 +++--
src/storage/storage_backend_vstorage.c |  9 ++-
src/storage/storage_backend_zfs.c      |  7 +-
src/storage/storage_driver.c           | 67 +++++++++++--------
src/test/test_driver.c                 | 21 ++----
10 files changed, 181 insertions(+), 72 deletions(-)
[libvirt] [PATCH v1 00/11] Couple of storage driver improvements
Posted by Michal Privoznik 5 years, 6 months ago
Patches 02/11, 09/11 and finally 11/11 are actual bug fixes. The
rest is a preparation work. More detailed:

02/11 - Fixes a refcounting issue (and thus invalid memory access)
09/11 - Fixes a problem where starting a transitive pool which
        has a persistent config may lead to it's disappearance
11/11 - Tries to relax locking to allow more concurrent access


Michal Prívozník (11):
  virStoragePoolObjRemove: Don't unlock pool object upon return
  virStoragePoolObjListForEach: Grab a reference for pool object
  storagePoolRefreshImpl: Fix variable name in comment
  virStoragePoolUpdateInactive: Don't call virStoragePoolObjEndAPI
  virstorageobj: Rename virStoragePoolObjAssignDef
  virStoragePoolObjListAdd: Turn boolean arg into flags
  virStoragePoolObjListAdd: Separate out definition assignment
  virstorageobj: Introduce VIR_STORAGE_POOL_OBJ_LIST_ADD_LIVE flag
  storagePoolCreateXML: Don't lose persistent storage on failed create
  storage_driver: Protect pool def during startup and build
  storage: Drop and reacquire pool obj lock in some backends

 src/conf/virstorageobj.c               | 89 ++++++++++++++++++++------
 src/conf/virstorageobj.h               | 17 ++++-
 src/libvirt_private.syms               |  4 +-
 src/storage/storage_backend_disk.c     | 11 +++-
 src/storage/storage_backend_fs.c       | 13 +++-
 src/storage/storage_backend_logical.c  | 15 +++--
 src/storage/storage_backend_vstorage.c |  9 ++-
 src/storage/storage_backend_zfs.c      |  7 +-
 src/storage/storage_driver.c           | 67 +++++++++++--------
 src/test/test_driver.c                 | 21 ++----
 10 files changed, 181 insertions(+), 72 deletions(-)

-- 
2.21.0

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