]> www.infradead.org Git - users/jedix/linux-maple.git/commit
aio: add aio support for iov_iter arguments
authorZach Brown <zach.brown@oracle.com>
Fri, 22 Oct 2010 19:24:24 +0000 (12:24 -0700)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 13 Jan 2012 00:16:00 +0000 (18:16 -0600)
commitd4613d428237c189fa89cb1d27c5e32f7b2ec056
treefe83eb61d6bfb1cb2d1f318b600cc7df919fbe3e
parent36c91dae5541aafe2dd6688db6828083166a6679
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.

Hrmph.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
fs/aio.c
include/linux/aio.h
include/linux/aio_abi.h