erofs: use meta buffers for zmap operations
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 2 Jan 2022 04:00:17 +0000 (12:00 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 4 Jan 2022 15:47:36 +0000 (23:47 +0800)
commit09c543798c3cde19aae575a0f76d5fc7c130ff18
tree644f73c442b0dfc42a6609c693e1ff6162669426
parentbb88e8da00253bea0e7f0f4cdfd7910572d7799f
erofs: use meta buffers for zmap operations

Get rid of old erofs_get_meta_page() within zmap operations by
using on-stack meta buffers in order to prepare subpage and folio
features.

Finally, erofs_get_meta_page() is useless. Get rid of it!

Link: https://lore.kernel.org/r/20220102040017.51352-6-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@yulong.com>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/data.c
fs/erofs/internal.h
fs/erofs/zdata.c
fs/erofs/zmap.c