Al Viro 7b2c99d155 new helper: iov_iter_get_pages()
iov_iter_get_pages(iter, pages, maxsize, &start) grabs references pinning
the pages of up to maxsize of (contiguous) data from iter.  Returns the
amount of memory grabbed or -error.  In case of success, the requested
area begins at offset start in pages[0] and runs through pages[1], etc.
Less than requested amount might be returned - either because the contiguous
area in the beginning of iterator is smaller than requested, or because
the kernel failed to pin that many pages.

direct-io.c switched to using iov_iter_get_pages()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2014-05-06 17:32:50 -04:00
..
2014-05-06 17:32:49 -04:00
2014-04-07 16:35:58 -07:00
2014-05-06 17:32:50 -04:00
2014-03-04 07:55:47 -08:00
2014-04-07 16:35:58 -07:00
2014-01-27 21:02:39 -08:00
2014-04-07 16:35:53 -07:00
2013-10-16 21:35:53 -07:00
2014-05-06 17:32:49 -04:00
2014-04-07 16:35:58 -07:00
2014-05-06 17:32:49 -04:00
2014-05-06 14:02:53 -04:00