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 <p...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to