Al Viro 6e58e79db8 introduce copy_page_to_iter, kill loop over iovec in generic_file_aio_read()
generic_file_aio_read() was looping over the target iovec, with loop over
(source) pages nested inside that.  Just set an iov_iter up and pass *that*
to do_generic_file_aio_read().  With copy_page_to_iter() doing all work
of mapping and copying a page to iovec and advancing iov_iter.

Switch shmem_file_aio_read() to the same and kill file_read_actor(), while
we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2014-04-01 23:19:21 -04:00
..
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2014-03-04 07:55:47 -08:00
2014-01-30 16:56:55 -08:00
2014-03-04 07:55:47 -08:00
2014-01-23 16:36:52 -08:00
2014-01-27 21:02:39 -08:00
2014-01-23 16:36:53 -08:00
2013-10-16 21:35:53 -07:00
2012-06-20 14:39:36 -07:00
2014-03-04 07:55:47 -08:00
2014-01-30 16:56:55 -08:00