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

Message ID 20221126005756.7662-1-jefflexu@linux.alibaba.com
Headers
Series erofs: support large folio in fscache mode |

Message

Jingbo Xu Nov. 26, 2022, 12:57 a.m. UTC
  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@linux.alibaba.com/
[2] https://lore.kernel.org/all/20221110074023.8059-1-jefflexu@linux.alibaba.com/


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(-)