[PATCH v7 00/13] erofs-utils: mkfs: introduce rebuild mode

Gao Xiang hsiangkao at linux.alibaba.com
Sun Sep 10 02:32:27 AEST 2023


v6: https://lore.kernel.org/r/20230905100227.1072-1-jefflexu@linux.alibaba.com

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

-- 
2.24.4



More information about the Linux-erofs mailing list