Skip to content

erofs: get rid of erofs_get_meta_page()

Gao Xiang linux-erofs lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 13 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- fix unbalanced put_metabuf in xattrs.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5erofs: introduce meta buffer operationsfs/erofs/data.c fs/erofs/internal.h+89 -213 replies
2/5erofs: use meta buffers for inode operationsfs/erofs/inode.c fs/erofs/internal.h+35 -362 replies
3/5erofs: use meta buffers for super operationsfs/erofs/super.c+26 -795 replies
4/5erofs: use meta buffers for xattr operationsfs/erofs/xattr.c+40 -942 replies
5/5erofs: use meta buffers for zmap operationsfs/erofs/data.c fs/erofs/internal.h fs/erofs/zdata.c +1 more+28 -704 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchYue HuLiu BoChao Yu
1/5R-b R-b
2/5R-b R-b R-b
3/5R-b R-b R-b R-b
4/5R-b R-b
5/5R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] erofs: get rid of erofs_get_meta_page()

Hi folks,

erofs_get_meta_page() is actually inflexible since it's too close to the page itself.

In order to prepare for folio and subpage features, introduce on-stack meta buffer descriptor instead and convert all erofs_get_meta_page() users to use it.

It can also be used for new potential backends such as fscache or mtd.

Patches are trivial.

Thanks,
Gao Xiang

changes since v1:
- fix unbalanced put_metabuf in xattrs.

Gao Xiang (5):
erofs: introduce meta buffer operations
erofs: use meta buffers for inode operations
erofs: use meta buffers for super operations
erofs: use meta buffers for xattr operations
erofs: use meta buffers for zmap operations

 fs/erofs/data.c     | 102 +++++++++++++++++++++++----------
 fs/erofs/inode.c    |  68 +++++++++++-----------
 fs/erofs/internal.h |  22 +++++++-
 fs/erofs/super.c    | 105 +++++++++-------------------------
 fs/erofs/xattr.c    | 134 +++++++++++++-------------------------------
 fs/erofs/zdata.c    |  23 +++-----
 fs/erofs/zmap.c     |  56 ++++++------------
 7 files changed, 214 insertions(+), 296 deletions(-)
Signature · 1 line
2.24.4