Re: [PATCH] storage-daemon: Call job_cancel_sync_all() on shutdown

2021-03-09 Thread Eric Blake
On 3/9/21 6:18 AM, Kevin Wolf wrote: > bdrv_close_all() asserts that no jobs are running any more, so we need > to cancel all jobs first to avoid failing the assertion. > > Fixes: b55a3c8860b763b62b2cc2f4a6f55379977bbde5 > Reported-by: Nini Gu > Signed-off-by: Kevin Wolf > --- > storage-daemon/

[PATCH] storage-daemon: Call job_cancel_sync_all() on shutdown

2021-03-09 Thread Kevin Wolf
bdrv_close_all() asserts that no jobs are running any more, so we need to cancel all jobs first to avoid failing the assertion. Fixes: b55a3c8860b763b62b2cc2f4a6f55379977bbde5 Reported-by: Nini Gu Signed-off-by: Kevin Wolf --- storage-daemon/qemu-storage-daemon.c | 1 + tests/qemu-iotests/tes