mm: split ->readpages calls to avoid non-contiguous pages lists
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 16:03:06 +0000 (09:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Jun 2018 01:37:32 +0000 (18:37 -0700)
commitb3751e6ab45a3b92da1e4acd42ada7b6a4122f2b
tree89da8a8cbe40bb7258ec11861e3b4f18db026537
parentc534aa3fdd149fab18b094375f334b4bb3635cbf
mm: split ->readpages calls to avoid non-contiguous pages lists

That way file systems don't have to go spotting for non-contiguous pages
and work around them.  It also kicks off I/O earlier, allowing it to
finish earlier and reduce latency.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
mm/readahead.c