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)
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

diff --cc fs/fuse/file.c
Simple merge
Simple merge
Simple merge
diff --cc mm/iov_iter.c
Simple merge
diff --cc mm/page_io.c
Simple merge