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

From: Yue Hu
Date: Mon May 29 2023 - 05:42:03 EST


On Sat, 27 May 2023 04:14:53 +0800
Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx> wrote:

> 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(-)
>

Reviewed-by: Yue Hu <huyue2@xxxxxxxxxxx>