diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-07-15 18:41:59 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-07-21 17:55:22 +0300 |
commit | 4f05687fd7036473605a161ca47a2cf9fd3cbfc5 (patch) | |
tree | 19a329101325918191be4ea05311819d70821465 /fs/erofs/zdata.h | |
parent | e73681877d4c3a8e28c8416300c36b10d4d6e9c1 (diff) | |
download | linux-4f05687fd7036473605a161ca47a2cf9fd3cbfc5.tar.xz |
erofs: introduce struct z_erofs_decompress_backend
Let's introduce struct z_erofs_decompress_backend in order to pass
on the decompression backend context between helper functions more
easier and avoid too many arguments.
Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220715154203.48093-13-hsiangkao@linux.alibaba.com
Diffstat (limited to 'fs/erofs/zdata.h')
-rw-r--r-- | fs/erofs/zdata.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/erofs/zdata.h b/fs/erofs/zdata.h index 43c91bd2d84f..be0f19aa0d2d 100644 --- a/fs/erofs/zdata.h +++ b/fs/erofs/zdata.h @@ -173,7 +173,6 @@ static inline void z_erofs_onlinepage_endio(struct page *page) } } -#define Z_EROFS_VMAP_ONSTACK_PAGES \ - min_t(unsigned int, THREAD_SIZE / 8 / sizeof(struct page *), 96U) +#define Z_EROFS_ONSTACK_PAGES 32 #endif |