erofs: enable large folios for fscache mode
authorJingbo Xu <jefflexu@linux.alibaba.com>
Thu, 1 Dec 2022 07:42:56 +0000 (15:42 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 7 Dec 2022 02:56:31 +0000 (10:56 +0800)
commite6687b89225ee9c817e6dcbadc873f6a4691e5c2
treef711900c521a949301eae0581610f3f4630cf180
parentbe62c5198861156d77b60babb89e70e21c73eb7b
erofs: enable large folios for fscache mode

Enable large folios for fscache mode.  Enable this feature for
non-compressed format for now, until the compression part supports large
folios later.

One thing worth noting is that, the feature is not enabled for the meta
data routine since meta inodes don't need large folios for now, nor do
they support readahead yet.

Also document this new feature.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Jia Zhu <zhujia.zj@bytedance.com>
Link: https://lore.kernel.org/r/20221201074256.16639-3-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Documentation/filesystems/erofs.rst
fs/erofs/inode.c