qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-aio: Allow reads beyond the end of growab


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH] linux-aio: Allow reads beyond the end of growable images
Date: Fri, 14 Oct 2011 09:51:38 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

On Thu, Oct 13, 2011 at 03:49:39PM +0200, Kevin Wolf wrote:
> This is the linux-aio version of commits 22afa7b5 (raw-posix, synchronous) and
> ba1d1afd (posix-aio-compat). Reads now produce zeros after the end of file
> instead of failing or resulting in short reads, making linux-aio compatible
> with the behaviour of synchronous raw-posix requests and posix-aio-compat.
> 
> The problem can be reproduced like this:
> 
> dd if=/dev/zero of=/tmp/test.raw bs=1 count=1234
> ./qemu-io -k -n -g -c 'read -p 1024 512' /tmp/test.raw

Can you send a patch doing this for qemu-iotests?




reply via email to

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