Re: [PATCH 3/3] Zach's core aio changes to support vectored AIO

From: christoph
Date: Tue May 09 2006 - 14:55:30 EST


On Tue, May 09, 2006 at 11:08:39AM -0700, Badari Pulavarty wrote:
> This work is initially done by Zach Brown to add support for
> vectored aio. These are the core changes for AIO to support
> IOCB_CMD_PREADV/IOCB_CMD_PWRITEV.
>
> I made few extra changes beyond Zach's work. They are
> - took out aio_pread/aio_pwrite and made them
> a special case into vectored support
> - added single inlined vector to save on kmalloc()
> for a simple aio_read/aio_write
> - kiocb->ki_left always indicates the amount of
> IO need to be done. Made sure that this gets
> set in sync case also, so that we don't need
> to loop over iovecs to figure out IO size all
> the time.
>
> Signed-off-by: Badari Pulavarty <pbadari@xxxxxxxxxx>
> Signed-off-by: Zach Brown <zach.brown@xxxxxxxxxx>
> Acked-by: Benjamin LaHaise <bcrl@xxxxxxxxx>

Please add my Signed-off-by somewhere, I did large portions of the
changes and ACK the final version too.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/