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

2011-10-14 Thread Christoph Hellwig
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 > w

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

2011-10-13 Thread Stefan Hajnoczi
On Thu, Oct 13, 2011 at 2:49 PM, 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

[Qemu-devel] [PATCH] linux-aio: Allow reads beyond the end of growable images

2011-10-13 Thread Kevin Wolf
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-co