iomap: simplify iomap_add_to_ioend
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)
commitc1b79f11f4ec27d3b3197a9584950a3be178c717
tree0d22235417974f275363d1841d3f4e5f576a2024
parentd0364f9490d7e098963ce4d146b51f9cd1199412
iomap: simplify iomap_add_to_ioend

Now that the outstanding writes 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 simply iomap_add_to_ioend again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c