lkml.org 
[lkml]   [2012]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/5] aio: Export symbols and struct kiocb_batch for in kernel aio usage
    From
    Date
    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




    \
     
     \ /
      Last update: 2012-07-12 20:42    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean