erofs-utils: mkfs: introduce rebuild mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest8 patches 2 repliesIn review
- v611 patches 3 repliesSuperseded
- v58 patches 0 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 10 patches | 3 replies | Superseded | |
| v3 | 11 patches | 2 replies | Superseded | |
| v2 | 12 patches | 0 replies | Superseded | |
| v1 | 13 patches | 9 replies | Superseded |
Changes in v8 from the cover letter
- patch 7: fix the missing call for erofs_mkfs_dump_blobs() in rebuild mode by also calling erofs_mkfs_dump_blobs() when sbi->extra_devices is not zero; otherwise the content of the on-disk device slot is all 0
- patch 8: strip overlay.opaque xattr when --ovlfs-strip=1; update the commit message accordingly
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | erofs-utils: lib: add list_splice_tail() helperinclude/ | +20 | 0 replies | |
| 2/8 | erofs-utils: lib: make erofs_get_unhashed_chunk() globalinclude/ lib/ | +3 | 0 replies | |
| 3/8 | erofs-utils: lib: add erofs_read_xattrs_from_disk() helperinclude/ include/ lib/ | +71 | 0 replies | |
| 4/8 | erofs-utils: lib: add erofs_insert_ihash() helperinclude/ lib/ | +10 | 0 replies | |
| 5/8 | erofs-utils: lib: add erofs_rebuild_get_dentry() helperinclude/ lib/ lib/ +1 more | +140 | 0 replies | |
| 6/8 | erofs-utils: lib: add erofs_rebuild_load_tree() helperinclude/ include/ include/ +3 more | +298 | 0 replies | |
| 7/8 | erofs-utils: mkfs: introduce rebuild modemkfs/ | +168 | 1 reply | |
| 8/8 | erofs-utils: mkfs: add `--ovlfs-strip` optioninclude/ include/ lib/ +2 more | +42 | 1 reply |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Gao Xiang |
|---|---|
| 1/8 | R-b |
| 2/8 | |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/8] erofs-utils: mkfs: introduce rebuild mode
v8:
- patch 7: fix the missing call for erofs_mkfs_dump_blobs() in rebuild mode by also calling erofs_mkfs_dump_blobs() when sbi->extra_devices is not zero; otherwise the content of the on-disk device slot is all 0
- patch 8: strip overlay.opaque xattr when --ovlfs-strip=1; update the commit message accordingly
v1: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/all/[email protected]/
v4: https://lore.kernel.org/all/[email protected]/
v5: https://lore.kernel.org/all/[email protected]/
v6: https://lore.kernel.org/all/[email protected]/
v7: https://lore.kernel.org/all/[email protected]/
-------------------------
Introduce a new rebuild mode merging multiple erofs images generated from either tarerfs index mode (--tar=i):
mkfs.erofs --tar=i --aufs layer0.erofs layer0.tar ... mkfs.erofs --tar=i --aufs layerN.erofs layerN.tar mkfs.erofs merge.erofs layer0.erofs ... layerN.erofs
or tarerofs non-index mode (--tar=f):
mkfs.erofs --tar=f -Enoinline_data --aufs layer0.erofs layer0.tar ... mkfs.erofs --tar=f -Enoinline_data --aufs layerN.erofs layerN.tar mkfs.erofs merge.erofs layer0.erofs ... layerN.erofs
Jingbo Xu (8):
erofs-utils: lib: add list_splice_tail() helper
erofs-utils: lib: make erofs_get_unhashed_chunk() global
erofs-utils: lib: add erofs_read_xattrs_from_disk() helper
erofs-utils: lib: add erofs_insert_ihash() helper
erofs-utils: lib: add erofs_rebuild_get_dentry() helper
erofs-utils: lib: add erofs_rebuild_load_tree() helper
erofs-utils: mkfs: introduce rebuild mode
erofs-utils: mkfs: add --ovlfs-strip option
include/erofs/blobchunk.h | 2 + include/erofs/config.h | 1 + include/erofs/inode.h | 5 +- include/erofs/internal.h | 7 +- include/erofs/list.h | 20 ++ include/erofs/rebuild.h | 21 ++ include/erofs/xattr.h | 2 + lib/Makefile.am | 3 +- lib/blobchunk.c | 2 +- lib/inode.c | 31 ++- lib/rebuild.c | 404 ++++++++++++++++++++++++++++++++++++++ lib/tar.c | 109 +--------- lib/xattr.c | 87 ++++++++ mkfs/main.c | 227 ++++++++++++++++----- 14 files changed, 751 insertions(+), 170 deletions(-) create mode 100644 include/erofs/rebuild.h create mode 100644 lib/rebuild.c
Signature · 1 line
2.19.1.6.gb485710b