RFC erofs-utils: add manifest input support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | erofs-utils: mkfs: add manifest source mode plumbingmkfs/ | +64 | 0 replies | |
| 2/5 | erofs-utils: lib: add manifest loader interfaceinclude/ lib/ lib/ +1 more | +51 | 0 replies | |
| 3/5 | erofs-utils: lib: implement composefs manifest subsetlib/ | +712 | 0 replies | |
| 4/5 | erofs-utils: lib: implement proto manifest subsetlib/ | +362 | 0 replies | |
| 5/5 | erofs-utils: mkfs: enable diskbuf staging for manifest inputsmkfs/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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