[PATCH v3 0/5] erofs-utils: add support for chunk-based files

Gao Xiang hsiangkao at linux.alibaba.com
Thu Sep 23 04:56:02 AEST 2021


v1 & 2: https://lore.kernel.org/r/20210818070316.1970-2-hsiangkao@linux.alibaba.com

changes since v2:
 - add erofsfuse support for chunk-based files;
 - add support for 4-byte blockmap array in addition to chunk indexes;
 - update manpages;
 - minor cleanups.

Gao Xiang (5):
  erofs-utils: fuse: support reading chunk-based uncompressed files
  erofs-utils: introduce hashmap from git source
  erofs-utils: introduce sha256
  erofs-utils: introduce copy_file_range
  erofs-utils: mkfs: support chunk-based uncompressed files

 configure.ac               |   1 +
 include/erofs/blobchunk.h  |  18 +++
 include/erofs/config.h     |   1 +
 include/erofs/defs.h       |  77 ++++++++++
 include/erofs/flex-array.h | 147 +++++++++++++++++++
 include/erofs/hashmap.h    | 103 ++++++++++++++
 include/erofs/hashtable.h  |  77 ----------
 include/erofs/internal.h   |   6 +
 include/erofs/io.h         |   7 +
 include/erofs_fs.h         |  48 ++++++-
 lib/Makefile.am            |   3 +-
 lib/blobchunk.c            | 217 ++++++++++++++++++++++++++++
 lib/data.c                 |  86 +++++++++--
 lib/hashmap.c              | 284 +++++++++++++++++++++++++++++++++++++
 lib/inode.c                |  36 ++++-
 lib/io.c                   |  97 ++++++++++++-
 lib/namei.c                |  15 +-
 lib/sha256.c               | 248 ++++++++++++++++++++++++++++++++
 man/mkfs.erofs.1           |   3 +
 mkfs/main.c                |  38 +++++
 20 files changed, 1413 insertions(+), 99 deletions(-)
 create mode 100644 include/erofs/blobchunk.h
 create mode 100644 include/erofs/flex-array.h
 create mode 100644 include/erofs/hashmap.h
 create mode 100644 lib/blobchunk.c
 create mode 100644 lib/hashmap.c
 create mode 100644 lib/sha256.c

-- 
2.24.4



More information about the Linux-erofs mailing list