Skip to content

erofs-utils: add support for chunk-based files

Gao Xiang linux-erofs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v21 of 4 patches 0 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5erofs-utils: fuse: support reading chunk-based uncompressed filesinclude/erofs/internal.h include/erofs_fs.h lib/data.c +1 more+140 -140 replies
2/5erofs-utils: introduce hashmap from git sourceinclude/erofs/flex-array.h include/erofs/hashmap.h lib/Makefile.am +1 more+536 -10 replies
3/5erofs-utils: introduce sha256lib/Makefile.am lib/sha256.c+249 -10 replies
4/5erofs-utils: introduce copy_file_rangeconfigure.ac include/erofs/io.h lib/io.c+101 -00 replies
5/5erofs-utils: mkfs: support chunk-based uncompressed filesinclude/erofs/blobchunk.h include/erofs/config.h include/erofs/defs.h +9 more+389 -851 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

v1 & 2: https://lore.kernel.org/r/[email protected]

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
Signature · 1 line
2.24.4