[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH V3] block/io: optimize bdrv_co_pwritev for small
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH V3] block/io: optimize bdrv_co_pwritev for small requests |
Date: |
Tue, 31 May 2016 16:39:48 -0700 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Mon, May 30, 2016 at 01:31:13PM +0200, Peter Lieven wrote:
> in a read-modify-write cycle a small request might cause
> head and tail to fall into the same aligned block. Currently
> QEMU reads the same block twice in this case which is
> not necessary.
>
> Signed-off-by: Peter Lieven <address@hidden>
> ---
> v1->v2: following Paolos suggestions to simplify the if condition and
> adjusting the comment
> v2->v3: fix iotest 077 for requests that are within the same aligned block
> [Fam, Kevin]
>
> block/io.c | 8 ++++++++
> tests/qemu-iotests/077 | 12 +-----------
> tests/qemu-iotests/077.out | 26 --------------------------
> 3 files changed, 9 insertions(+), 37 deletions(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature