iomap: simplify iomap_readpage_actor
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Aug 2021 21:43:43 +0000 (14:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 3 Aug 2021 16:43:13 +0000 (09:43 -0700)
commitd0364f9490d7e098963ce4d146b51f9cd1199412
treeaf9058d464643e8651422bebe2477de36a786329
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17
iomap: simplify iomap_readpage_actor

Now that the outstanding reads are counted in bytes, there is no need
to use the low-level __bio_try_merge_page API, we can switch back to
always using bio_add_page and simplify iomap_readpage_actor again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c