]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7240c4eae576cfaf598ff979fd947a9a2d69e1e
treebb008456891c13b9d8a25825a10074efb861cd88
parent34104bb6ef44f009250397fc87b5c2ec68824acf
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