Messages in this thread | | | Subject | Re: [PATCH 1/5] aio: Export symbols and struct kiocb_batch for in kernel aio usage | From | James Bottomley <> | Date | Thu, 12 Jul 2012 18:50:16 +0100 |
| |
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@redhat.com> > --- > 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
| |