]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iov_iter: let callers extract iovecs and bio_vecs
authorZach Brown <zach.brown@oracle.com>
Fri, 3 Sep 2010 21:12:09 +0000 (14:12 -0700)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 13 Jan 2012 00:11:39 +0000 (18:11 -0600)
commit230eb11ca261bd53102389fa8eaa88521320806f
treeb74ad0d6f4a9994e22b44663e784803adcafe0e0
parentf4fd63e1f1b297565a0129b9aa3990c0f6942120
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 absctraction that includes these different
behaviours we let direct IO extract the memory structs and hand them to the
existing code.

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