]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iov_iter: let callers extract iovecs and bio_vecs
authorZach Brown <zab@zabbo.net>
Fri, 14 Jun 2013 20:54:14 +0000 (15:54 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 9 Aug 2013 21:43:33 +0000 (16:43 -0500)
commit367e04e0f2c6730824dc59ba53d16eafec317b6a
treed007038903e4f7d6fe29b669e40b8956803df8b1
parent581f9a2ac5a5ebd4f8dacae0077a5c723b50a868
iov_iter: let callers extract iovecs and bio_vecs

direct IO treats memory from user iovecs and memory from arrays of
kernel pages very differently.  User memory is pinned and worked with in
batches while kernel pages are always pinned and don't require
additional processing.

Rather than try and provide an abstraction that includes these
different behaviours we let direct IO extract the memory structs and
hand them to the existing code.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Zach Brown <zab@zabbo.net>
include/linux/fs.h