Re: [Qemu-devel] [PATCH 2/3] block: complete all IOs before resizing a device

2013-03-19 Thread Kevin Wolf
Am 11.03.2013 um 11:04 hat Peter Lieven geschrieben: > this patch ensures that all pending IOs are completed > before a device is resized. this is especially important > if a device is shrinked as it the bdrv_check_request() > result is invalidated. > > Signed-off-by: Peter Lieven Thanks, applie

[Qemu-devel] [PATCH 2/3] block: complete all IOs before resizing a device

2013-03-11 Thread Peter Lieven
this patch ensures that all pending IOs are completed before a device is resized. this is especially important if a device is shrinked as it the bdrv_check_request() result is invalidated. Signed-off-by: Peter Lieven --- blockdev.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/block