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

Pavel Hrdina phrdina at redhat.com
Fri Nov 13 12:29:15 UTC 2015


On Wed, Nov 04, 2015 at 04:58:45PM -0500, John Ferlan wrote:
> 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(-)
> 

ACK series,

Pavel




More information about the libvir-list mailing list