[PATCH 0/6] erofs: random cleanups and fixes

From: Gao Xiang
Date: Fri May 26 2023 - 16:15:21 EST


Hi folks,

These are some cleanups and fixes for the compressed part I'd like to
aim for the next cycle. I will send several versions if there are more
patches available. This ongoing cleanup work are also for later folio
adaption.

I've set up a stress test for this patchset at the same time.

Thanks,
Gao Xiang

Gao Xiang (6):
erofs: allocate extra bvec pages directly instead of retrying
erofs: avoid on-stack pagepool directly passed by arguments
erofs: kill hooked chains to avoid loops on deduplicated compressed
images
erofs: adapt managed inode operations into folios
erofs: use struct lockref to replace handcrafted approach
erofs: use poison pointer to replace the hard-coded address

fs/erofs/internal.h | 41 +-------
fs/erofs/super.c | 62 ------------
fs/erofs/utils.c | 87 ++++++++--------
fs/erofs/zdata.c | 238 ++++++++++++++++++++------------------------
4 files changed, 156 insertions(+), 272 deletions(-)

--
2.24.4