]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iov_iter: add bvec support
authorZach Brown <zach.brown@oracle.com>
Fri, 3 Sep 2010 18:37:58 +0000 (11:37 -0700)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 13 Jan 2012 00:09:39 +0000 (18:09 -0600)
commit892f3253be6f257043f1f1235d7e1a338166a8c7
tree6acc8e9db5031bec6057c6ced1aa1c74429abae7
parent14bf8c9e5ebc41f0bc460cefbf9dd18764e4baf9
iov_iter: add bvec support

This adds a set of iov_iter_ops calls which work with memory which is
specified by an array of bio_vec structs instead of an array of iovec structs.

The big difference is that the pages referenced by the bio_vec elements are
pinned.  They don't need to be faulted in and we can always use kmap_atomic()
to map them one at a time.

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