bio_vec-backed iov_iter
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Apr 2014 03:12:29 +0000 (23:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:39:45 +0000 (17:39 -0400)
commit62a8067a7f35dba2de501c9cb00e4cf36da90bc0
treebb008456891c13b9d8a25825a10074efb861cd88
parent81055e584f9d743cb13dc7944923d817c20f089d
bio_vec-backed iov_iter

New variant of iov_iter - ITER_BVEC in iter->type, backed with
bio_vec array instead of iovec one.  Primitives taught to deal
with such beasts, __swap_write() switched to using that kind
of iov_iter.

Note that bio_vec is just a <page, offset, length> triple - there's
nothing block-specific about it.  I've left the definition where it
was, but took it from under ifdef CONFIG_BLOCK.

Next target: ->splice_write()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/file.c
include/linux/blk_types.h
include/linux/uio.h
mm/iov_iter.c
mm/page_io.c