erofs: convert z_erofs_onlinepage_.* to folios
authorGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 5 Mar 2024 09:14:43 +0000 (17:14 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 10 Mar 2024 10:39:37 +0000 (18:39 +0800)
commitd136d335861613a3d92e76385a71225d8e9084b2
tree77085f62ddc93c1aad9d624d5d6b6e26431f93dd
parent90d35da658da8cff0d4ecbb5113f5fac9d00eb72
erofs: convert z_erofs_onlinepage_.* to folios

Online folios are locked file-backed folios which will eventually
keep decoded (e.g. decompressed) data of each inode for end users to
utilize.  It may belong to a few pclusters and contain other data (e.g.
compressed data for inplace I/Os) temporarily in a time-sharing manner
to reduce memory footprints for low-ended storage devices with high
latencies under heary I/O pressure.

Apart from folio_end_read() usage, it's a straight-forward conversion.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240305091448.1384242-1-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c