ext4: Convert ext4_finish_bio() to use folios
authorMatthew Wilcox <willy@infradead.org>
Fri, 24 Mar 2023 18:01:04 +0000 (18:01 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Apr 2023 17:39:50 +0000 (13:39 -0400)
commitbb64c08bff6a6edbd85786c92a2cb980ed99b29f
tree5934eea6f6f7e47c326708eed5ed93169c71f7c5
parentcd57b77197a434709aec0e7fb8b2e6ec8479aa4e
ext4: Convert ext4_finish_bio() to use folios

Prepare ext4 to support large folios in the page writeback path.
Also set the actual error in the mapping, not just -EIO.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230324180129.1220691-5-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/page-io.c