[libvirt] [PATCH 0/4] Fix crash resuling from script doing FC/SCSI pool-create destroy

John Ferlan jferlan at redhat.com
Wed Nov 4 21:58:45 UTC 2015


Details in the patches - essentially testing found an issue creating
and destroying an FC/SCSI pool due to the refresh thread created for
bz 1152382 running after the destroy.

Seen using script which has 
    for i in 1 2 3 ;  \
       do virsh pool-create /tmp/test.xml; \
       sleep 1; \
       virsh pool-destroy p1; \
       sleep 1; \
    done


John Ferlan (4):
  storage: Make active boolean
  storage: Change cbdata scsi refresh thread field name
  storage: Introduce virStoragePoolObjFindPoolByUUID
  storage: Don't assume storage pool exists for scsi refresh thread

 src/conf/storage_conf.h            |  2 +-
 src/storage/storage_backend_scsi.c | 30 +++++++++++++++++-------------
 src/storage/storage_driver.c       | 31 ++++++++++++++++++++++++++-----
 src/storage/storage_driver.h       |  3 +++
 4 files changed, 47 insertions(+), 19 deletions(-)

-- 
2.1.0




More information about the libvir-list mailing list