Skip to content

erofs: random cleanups and fixes

Gao Xiang linux-erofs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6erofs: allocate extra bvec pages directly instead of retryingfs/erofs/zdata.c+12 -200 replies
2/6erofs: avoid on-stack pagepool directly passed by argumentsfs/erofs/zdata.c+30 -340 replies
3/6erofs: kill hooked chains to avoid loops on deduplicated compressed imagesfs/erofs/zdata.c+11 -610 replies
4/6erofs: adapt managed inode operations into foliosfs/erofs/internal.h fs/erofs/super.c fs/erofs/zdata.c+53 -710 replies
5/6erofs: use struct lockref to replace handcrafted approachfs/erofs/internal.h fs/erofs/utils.c fs/erofs/zdata.c+53 -875 replies
6/6erofs: use poison pointer to replace the hard-coded addressfs/erofs/zdata.c+1 -30 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYue Hu
SeriesR-b
1/6
2/6
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.24.4