[PATCH 0/2] erofs: support large folio in fscache mode

From: Jingbo Xu
Date: Fri Nov 25 2022 - 19:58:04 EST


Patch 1 is the main part of supporting large folio in 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. It enables large
folio for both fscache and the original device mode (in uncompressed
data format). And thus I think the previous patch[2] exclusively for the
device mode is not needed then.

[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 folio in fscache mode
erofs: enable large folio support for non-compressed format

fs/erofs/fscache.c | 117 +++++++++++++++++++--------------------------
fs/erofs/inode.c | 1 +
2 files changed, 50 insertions(+), 68 deletions(-)

--
2.19.1.6.gb485710b