erofs-utils: mkfs: introduce rebuild mode
Get series with b4
b4 am [email protected]Versions newest first
- v7 Latest13 patches 1 replyIn review
Changes in v7 from the cover letter
- several random fixes when testing with --enable-debug
- better code arrangement.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | erofs-utils: lib: remove unneeded NULL checkslib/ | +2 | 0 replies | |
| 2/13 | erofs-utils: lib: avoid exporting non-EROFS xattrsinclude/ lib/ lib/ | +50 | 0 replies | |
| 3/13 | erofs-utils: lib: add erofs_inode_is_whiteout() helperinclude/ lib/ | +7 | 0 replies | |
| 4/13 | erofs-utils: lib: set OVL_XATTR_ORIGIN for directories with whiteoutsinclude/ include/ lib/ +2 more | +24 | 0 replies | |
| 5/13 | erofs-utils: lib: always fix up xattr_isize even w/o xattrslib/ | +3 | 1 reply | |
| 6/13 | erofs-utils: lib: add list_splice_tail() helperinclude/ | +20 | 0 replies | |
| 7/13 | erofs-utils: lib: make erofs_get_unhashed_chunk() globalinclude/ lib/ | +3 | 0 replies | |
| 8/13 | erofs-utils: lib: add erofs_read_xattrs_from_disk() helperinclude/ include/ lib/ | +71 | 0 replies | |
| 9/13 | erofs-utils: lib: add erofs_insert_ihash() helperinclude/ lib/ | +10 | 0 replies | |
| 10/13 | erofs-utils: lib: add erofs_rebuild_get_dentry() helperinclude/ lib/ lib/ +1 more | +140 | 0 replies | |
| 11/13 | erofs-utils: lib: add erofs_rebuild_load_tree() helperinclude/ include/ include/ +3 more | +298 | 0 replies | |
| 12/13 | erofs-utils: mkfs: introduce rebuild modeinclude/ mkfs/ | +169 | 0 replies | |
| 13/13 | erofs-utils: mkfs: add `--ovlfs-strip` optioninclude/ lib/ mkfs/ | +20 | 0 replies |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Gao Xiang |
|---|---|
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | R-b |
| 7/13 | |
| 8/13 | |
| 9/13 | R-b |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 00/13] erofs-utils: mkfs: introduce rebuild mode
v6: https://lore.kernel.org/r/[email protected]
changes since v6:
- several random fixes when testing with --enable-debug
- better code arrangement.
I plan to use this version for testing.
Thanks,
Gao Xiang
Gao Xiang (2):
erofs-utils: lib: avoid exporting non-EROFS xattrs
erofs-utils: lib: always fix up xattr_isize even w/o xattrs
Jingbo Xu (11):
erofs-utils: lib: remove unneeded NULL checks
erofs-utils: lib: add erofs_inode_is_whiteout() helper
erofs-utils: lib: set OVL_XATTR_ORIGIN for directories with whiteouts
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 | 18 +- include/erofs/list.h | 20 ++ include/erofs/rebuild.h | 21 ++ include/erofs/xattr.h | 34 +--- lib/Makefile.am | 3 +- lib/blobchunk.c | 2 +- lib/inode.c | 29 ++- lib/rebuild.c | 404 ++++++++++++++++++++++++++++++++++++++ lib/tar.c | 125 ++---------- lib/xattr.c | 138 ++++++++++++- mkfs/main.c | 225 ++++++++++++++++----- 14 files changed, 815 insertions(+), 212 deletions(-) create mode 100644 include/erofs/rebuild.h create mode 100644 lib/rebuild.c
Signature · 1 line
2.24.4