summaryrefslogtreecommitdiff
path: root/fs/erofs/zdata.h
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2022-07-15 18:41:58 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2022-07-21 17:55:15 +0300
commite73681877d4c3a8e28c8416300c36b10d4d6e9c1 (patch)
tree04d3544c69e7bdf00747c3b5d963a4aa7af2cafe /fs/erofs/zdata.h
parentdb166fc2020d300006a3aca15e539c09c948b62e (diff)
downloadlinux-e73681877d4c3a8e28c8416300c36b10d4d6e9c1.tar.xz
erofs: get rid of `z_pagemap_global'
In order to introduce multi-reference pclusters for compressed data deduplication, let's get rid of the global page array for now since it needs to be re-designed then at least. Acked-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20220715154203.48093-12-hsiangkao@linux.alibaba.com
Diffstat (limited to 'fs/erofs/zdata.h')
-rw-r--r--fs/erofs/zdata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/erofs/zdata.h b/fs/erofs/zdata.h
index 75f6fd435388..43c91bd2d84f 100644
--- a/fs/erofs/zdata.h
+++ b/fs/erofs/zdata.h
@@ -175,6 +175,5 @@ 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_VMAP_GLOBAL_PAGES 2048
#endif