[RFC PATCH 0/3] convert page_endio to folio_endio

From: Pankaj Raghav
Date: Wed Mar 15 2023 - 08:34:20 EST


page_endio() already works on folios by converting a page in to a folio as
the first step. This small series converts page_endio() to take a folio as
the first parameter instead of a page, and use native folio API at the
callee site to simplify the call to the converted folio_endio()
function.

mpage changes were tested with a simple boot testing. zram and orangefs is
only build tested. No functional changes were introduced as a part of
this AFAIK.

Pankaj Raghav (3):
filemap: convert page_endio to folio_endio
mpage: use bio_for_each_folio_all in mpage_end_io()
orangefs: use folio in orangefs_readahead()

drivers/block/zram/zram_drv.c | 2 +-
fs/mpage.c | 11 ++++-------
fs/orangefs/inode.c | 8 ++++----
include/linux/pagemap.h | 2 +-
mm/filemap.c | 8 +++-----
5 files changed, 13 insertions(+), 18 deletions(-)

--
2.34.1