]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: add support for read_iter, write_iter, and direct_IO_bvec
authorDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 12 Jan 2012 23:32:13 +0000 (17:32 -0600)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 13 Jan 2012 00:16:17 +0000 (18:16 -0600)
commitafe0220f454a591c24c0a7bb5ddb73af280669fd
treed1e1e0a65d960981c9e5f626e03c47976f9a7e34
parentb80035cd77fc28000c9597ec656df616168451b5
ocfs2: add support for read_iter, write_iter, and direct_IO_bvec

ocfs2's .aio_read and .aio_write methods are changed to take
iov_iter and pass it to generic functions.  Wrappers are made to pack
the iovecs into iters and call these new functions.

ocfs2_direct_IO() is trivial enough that a new function is made which
passes the bvec down to the generic direct path.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/file.c
fs/ocfs2/ocfs2_trace.h