[PATCH 0/3] Fix hot-unplug race in virtio-blk

Rusty Russell rusty at rustcorp.com.au
Mon Jun 4 00:41:15 UTC 2012


On Fri, 25 May 2012 10:34:46 +0800, Asias He <asias at redhat.com> wrote:
> This patch set fixes the race when hot-unplug stressed disk.
> 
> Asias He (3):
>   virtio-blk: Call del_gendisk() before disable guest kick
>   virtio-blk: Reset device after blk_cleanup_queue()
>   virtio-blk: Use block layer provided spinlock
> 
>  drivers/block/virtio_blk.c |   25 ++++++-------------------
>  1 file changed, 6 insertions(+), 19 deletions(-)

I've applied these (the revised spinlock patch, thanks to mst for his
feedback).

I think a cc: stable is in order for these, so I've added it.

Thanks,
Rusty.


More information about the Virtualization mailing list