linux/fs/erofs
Gao Xiang 524887347f erofs: introduce multipage per-CPU buffers
To deal the with the cases which inplace decompression is infeasible
for some inplace I/O. Per-CPU buffers was introduced to get rid of page
allocation latency and thrash for low-latency decompression algorithms
such as lz4.

For the big pcluster feature, introduce multipage per-CPU buffers to
keep such inplace I/O pclusters temporarily as well but note that
per-CPU pages are just consecutive virtually.

When a new big pcluster fs is mounted, its max pclustersize will be
read and per-CPU buffers can be growed if needed. Shrinking adjustable
per-CPU buffers is more complex (because we don't know if such size
is still be used), so currently just release them all when unloading.

Link: https://lore.kernel.org/r/20210409190630.19569-1-xiang@kernel.org
Acked-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
2021-04-10 03:19:59 +08:00
..
compress.h erofs: force inplace I/O under low memory scenario 2020-12-09 20:42:02 +08:00
data.c erofs: don't use erofs_map_blocks() any more 2021-03-29 10:19:53 +08:00
decompressor.c erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
dir.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
erofs_fs.h erofs: reserve physical_clusterbits[] 2021-04-07 12:41:22 +08:00
inode.c erofs: add unsupported inode i_format check 2021-03-29 10:20:45 +08:00
internal.h erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
Kconfig erofs: support superblock checksum 2019-11-24 11:02:41 +08:00
Makefile erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
namei.c erofs: use %pd instead of messing with ->d_name 2021-01-06 19:39:37 -05:00
pcpubuf.c erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
super.c erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
tagptr.h erofs: move erofs out of staging 2019-08-24 14:20:10 +02:00
utils.c erofs: introduce multipage per-CPU buffers 2021-04-10 03:19:59 +08:00
xattr.c erofs: initialized fields can only be observed after bit is set 2021-02-11 11:55:28 +08:00
xattr.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zdata.c erofs: reserve physical_clusterbits[] 2021-04-07 12:41:22 +08:00
zdata.h erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
zmap.c erofs: reserve physical_clusterbits[] 2021-04-07 12:41:22 +08:00
zpvec.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00