Skip to content

erofs-utils: mkfs: introduce rebuild mode

Gao Xiang linux-erofs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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 filesSizeRepliesApplied
1/13erofs-utils: lib: remove unneeded NULL checkslib/xattr.c+2 -40 replies
2/13erofs-utils: lib: avoid exporting non-EROFS xattrsinclude/erofs/xattr.h lib/tar.c lib/xattr.c+50 -370 replies
3/13erofs-utils: lib: add erofs_inode_is_whiteout() helperinclude/erofs/internal.h lib/tar.c+7 -20 replies
4/13erofs-utils: lib: set OVL_XATTR_ORIGIN for directories with whiteoutsinclude/erofs/internal.h include/erofs/xattr.h lib/inode.c +2 more+24 -00 replies
5/13erofs-utils: lib: always fix up xattr_isize even w/o xattrslib/xattr.c+3 -11 reply
6/13erofs-utils: lib: add list_splice_tail() helperinclude/erofs/list.h+20 -00 replies
7/13erofs-utils: lib: make erofs_get_unhashed_chunk() globalinclude/erofs/blobchunk.h lib/blobchunk.c+3 -10 replies
8/13erofs-utils: lib: add erofs_read_xattrs_from_disk() helperinclude/erofs/internal.h include/erofs/xattr.h lib/xattr.c+71 -00 replies
9/13erofs-utils: lib: add erofs_insert_ihash() helperinclude/erofs/inode.h lib/inode.c+10 -30 replies
10/13erofs-utils: lib: add erofs_rebuild_get_dentry() helperinclude/erofs/rebuild.h lib/Makefile.am lib/rebuild.c +1 more+140 -1070 replies
11/13erofs-utils: lib: add erofs_rebuild_load_tree() helperinclude/erofs/inode.h include/erofs/internal.h include/erofs/rebuild.h +3 more+298 -60 replies
12/13erofs-utils: mkfs: introduce rebuild modeinclude/erofs/internal.h mkfs/main.c+169 -500 replies
13/13erofs-utils: mkfs: add `--ovlfs-strip` optioninclude/erofs/config.h lib/inode.c mkfs/main.c+20 -30 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchGao Xiang
1/13
2/13
3/13
4/13
5/13
6/13R-b
7/13
8/13
9/13R-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.

Read the v7 thread

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