Re: [PATCH 1/5] aio: Export symbols and struct kiocb_batch for inkernel aio usage

From: James Bottomley
Date: Thu Jul 12 2012 - 13:50:22 EST


On Thu, 2012-07-12 at 23:35 +0800, Asias He wrote:
> This is useful for people who want to use aio in kernel, e.g. vhost-blk.
>
> Signed-off-by: Asias He <asias@xxxxxxxxxx>
> ---
> fs/aio.c | 37 ++++++++++++++++++-------------------
> include/linux/aio.h | 21 +++++++++++++++++++++
> 2 files changed, 39 insertions(+), 19 deletions(-)

Um, I think you don't quite understand how aio in the kernel would work;
it's not as simple as just exporting the interfaces. There's already a
(very long) patch set from oracle to do this so loop can use aio:

http://marc.info/?l=linux-fsdevel&m=133312234313122

James


--
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/