[0/6] erofs: random cleanups and fixes

Message ID 20230526201459.128169-1-hsiangkao@linux.alibaba.com
Headers
Series erofs: random cleanups and fixes |

Message

Gao Xiang May 26, 2023, 8:14 p.m. UTC
  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(-)
  

Comments

Yue Hu May 29, 2023, 9:50 a.m. UTC | #1
On Sat, 27 May 2023 04:14:53 +0800
Gao Xiang <hsiangkao@linux.alibaba.com> 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@coolpad.com>