[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 0/6] file-posix: Make truncate/preallocate as
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH v2 0/6] file-posix: Make truncate/preallocate asynchronous |
Date: |
Wed, 27 Jun 2018 14:42:22 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 27.06.2018 um 13:58 hat Stefan Hajnoczi geschrieben:
> On Tue, Jun 26, 2018 at 04:24:28PM +0200, Kevin Wolf wrote:
> > This fixes the problem that blockdev-create on a local file blocks the
> > main loop despite being a background job. This was caused by file-posix
> > preallocating the image with blocking syscalls rather than moving this
> > to the thread pool and yielding the coroutine meanwhile.
> >
> > v2:
> > - Add locking to qcow2_co_discard()
> > - Extra qcow2 fix and cleanup related to the locking code
> > - Use tracked requests infrastructure for serialising I/O requests
> > against truncate in newly allocated areas
>
> Looks good!
Thanks for the review! Applied to my block branch.
Kevin
signature.asc
Description: PGP signature
- Re: [Qemu-block] [PATCH v2 3/6] qcow2: Remove coroutine trampoline for preallocate_co(), (continued)
- [Qemu-block] [PATCH v2 4/6] block: Move bdrv_truncate() implementation to io.c, Kevin Wolf, 2018/06/26
- [Qemu-block] [PATCH v2 5/6] block: Use tracked request for truncate, Kevin Wolf, 2018/06/26
- [Qemu-block] [PATCH v2 2/6] block: Convert .bdrv_truncate callback to coroutine_fn, Kevin Wolf, 2018/06/26
- [Qemu-block] [PATCH v2 6/6] file-posix: Make .bdrv_co_truncate asynchronous, Kevin Wolf, 2018/06/26
- Re: [Qemu-block] [PATCH v2 0/6] file-posix: Make truncate/preallocate asynchronous, Stefan Hajnoczi, 2018/06/27
- Re: [Qemu-block] [PATCH v2 0/6] file-posix: Make truncate/preallocate asynchronous,
Kevin Wolf <=