]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iov_iter: add bvec support
authorZach Brown <zab@zabbo.net>
Fri, 14 Jun 2013 20:54:13 +0000 (15:54 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 9 Aug 2013 21:43:31 +0000 (16:43 -0500)
commitced14e6633cac6b245f8e501d881a95a4e60a25a
tree8a83061c9ff9090f5008bff81198910f2c4a068a
parent9ed93a09f292d3082eedf998f8e6b5f681a4c160
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: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Zach Brown <zab@zabbo.net>
fs/iov-iter.c
include/linux/fs.h