]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aio: add aio support for iov_iter arguments
authorDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 14 Jun 2013 20:54:18 +0000 (15:54 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 9 Aug 2013 21:43:36 +0000 (16:43 -0500)
commitea224fbbdc10f67d0d4696402a6f9e662936992e
treee328d2973226589f1f441f19f5d8fa03dcacbdb9
parentaf9fa2024c38196460fef3b4d3c6c0368caa87d5
aio: add aio support for iov_iter arguments

This adds iocb cmds which specify that memory is held in iov_iter
structures.  This lets kernel callers specify memory that can be
expressed in an iov_iter, which includes pages in bio_vec arrays.

Only kernel callers can provide an iov_iter so it doesn't make a lot of
sense to expose the IOCB_CMD values for this as part of the user space
ABI.

But kernel callers should also be able to perform the usual aio
operations which suggests using the the existing operation namespace and
support code.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Zach Brown <zab@zabbo.net>
fs/aio.c
include/linux/aio.h
include/uapi/linux/aio_abi.h