[PATCH v2 0/2] erofs: support large folios for fscache mode

From: Jingbo Xu
Date: Sun Nov 27 2022 - 21:50:24 EST


v2:
- patch 2: keep the enabling for iomap and fscache mode in separate
patches; don't enable the feature for the meta data routine for now
(Gao Xiang)

v1: https://lore.kernel.org/all/20221126005756.7662-1-jefflexu@xxxxxxxxxxxxxxxxx/


Patch 1 is the main part of supporting large folios for fscache mode. It
relies on a pending patch[1] adding .prepare_ondemand_read() interface
in Cachefiles.

Patch 2 just turns the switch on and enables the feature for fscache
mode. It relies on a previous patch[2] which enables this feature for
iomap mode.

[1] https://lore.kernel.org/all/20221124034212.81892-1-jefflexu@xxxxxxxxxxxxxxxxx/
[2] https://lore.kernel.org/all/20221110074023.8059-1-jefflexu@xxxxxxxxxxxxxxxxx/


Jingbo Xu (2):
erofs: support large folios for fscache mode
erofs: enable large folios for fscache mode

fs/erofs/fscache.c | 116 +++++++++++++++++++--------------------------
fs/erofs/inode.c | 3 +-
2 files changed, 49 insertions(+), 70 deletions(-)

--
2.19.1.6.gb485710b