qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v2 6/6] file-posix: Make .bdrv_co_truncate async


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH v2 6/6] file-posix: Make .bdrv_co_truncate asynchronous
Date: Wed, 27 Jun 2018 12:57:52 +0100
User-agent: Mutt/1.10.0 (2018-05-17)

On Tue, Jun 26, 2018 at 04:24:34PM +0200, Kevin Wolf wrote:
> This moves the code to resize an image file to the thread pool to avoid
> blocking.
> 
> Creating large images with preallocation with blockdev-create is now
> actually a background job instead of blocking the monitor (and most
> other things) until the preallocation has completed.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  include/block/raw-aio.h |   4 +-
>  block/file-posix.c      | 265 
> +++++++++++++++++++++++++++---------------------
>  2 files changed, 153 insertions(+), 116 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]