[RFC,0/3] convert page_endio to folio_endio

Message ID 20230315123233.121593-1-p.raghav@samsung.com
Headers
Series convert page_endio to folio_endio |

Message

Pankaj Raghav March 15, 2023, 12:32 p.m. UTC
  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(-)