Skip to content

RFC erofs-utils: add manifest input support

adigitX linux-erofs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5erofs-utils: mkfs: add manifest source mode plumbingmkfs/main.c+64 -50 replies
2/5erofs-utils: lib: add manifest loader interfaceinclude/erofs/manifest.h lib/Makefile.am lib/manifest.c +1 more+51 -110 replies
3/5erofs-utils: lib: implement composefs manifest subsetlib/manifest.c+712 -30 replies
4/5erofs-utils: lib: implement proto manifest subsetlib/manifest.c+362 -260 replies
5/5erofs-utils: mkfs: enable diskbuf staging for manifest inputsmkfs/main.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] erofs-utils: add manifest input support

Hi,

This RFC series adds manifest-driven image construction support to mkfs.erofs.

The series is split into plumbing, loader interface, composefs support, proto support, and a final mkfs follow-up so each step is easier to review.

Current scope:

- add a manifest source mode to mkfs.erofs
- add a manifest loader interface in lib/
- implement a composefs-based manifest subset
- implement a proto manifest subset
- enable diskbuf staging for manifest-backed inputs

The current implementation is intentionally minimal. In particular, composefs xattrs, inline content, and digests are not implemented yet.

This series is based on:

b67812ce4eb5 ("erofs-utils: fix thread join loop in erofs_destroy_workqueue")

Build and validation:

- built locally with make -j2
- final tree passes ./tests/manifest.sh

Comments on the series split, manifest format handling, and any preferred follow-up direction would be appreciated.

Thanks,
Aditya

adigitX (5):
erofs-utils: mkfs: add manifest source mode plumbing
erofs-utils: lib: add manifest loader interface
erofs-utils: lib: implement composefs manifest subset
erofs-utils: lib: implement proto manifest subset
erofs-utils: mkfs: enable diskbuf staging for manifest inputs

 include/erofs/manifest.h |   26 +
 lib/Makefile.am          |    3 +-
 lib/manifest.c           | 1061 ++++++++++++++++++++++++++++++++++++++
 mkfs/main.c              |   67 ++-
 4 files changed, 1151 insertions(+), 6 deletions(-)
 create mode 100644 include/erofs/manifest.h
 create mode 100644 lib/manifest.c
Signature · 1 line
2.51.0