[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-block
Subject: Re: [Qemu-block] [PATCH V3] block/io: optimize bdrv_co_pwritev for small requests
From: Stefan Hajnoczi <stefanha () redhat ! com>
Date: 2016-05-31 23:39:48
Message-ID: 20160531233948.GA14713 () stefanha-x1 ! localdomain
[Download RAW message or body]
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 <pl@kamp.de>
> ---
> 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" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic