erofs-utils: collection for fragments and dedupe
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | erofs-utils: fuse: support interlaced uncompressed pclusterinclude/ include/ include/ +3 more | +37 | 0 replies | |
| 2/8 | erofs-utils: lib: support fragments data decompressioninclude/ include/ lib/ +2 more | +86 | 1 reply | |
| 3/8 | erofs-utils: introduce z_erofs_inmem_extentlib/ | +48 | 0 replies | |
| 4/8 | erofs-utils: mkfs: support interlaced uncompressed data layoutlib/ | +9 | 0 replies | |
| 5/8 | erofs-utils: mkfs: support fragmentsinclude/ include/ include/ +7 more | +295 | 0 replies | |
| 6/8 | erofs-utils: lib: add rb-tree implementationlib/ lib/ lib/ | +617 | 0 replies | |
| 7/8 | erofs-utils: fuse: introduce partial-referenced pclustersinclude/ include/ lib/ +1 more | +18 | 0 replies | |
| 8/8 | erofs-utils: mkfs: introduce global compressed data deduplicationinclude/ include/ lib/ +4 more | +399 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Gao Xiang |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 | Co-developped-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] erofs-utils: collection for fragments and dedupe
This is a collection patchset to resolve conflicts for the following features:
https://lore.kernel.org/r/[email protected] (fragments) and
https://lore.kernel.org/r/[email protected] (dedupe)
Except that the fragment feature still has some TODOs. For example, duplicated fragment data can still exist in the packed file and needs to be optimized to avoid fragment data duplication. However such improvement is purely a userspace strategy improvement and I think Yue Hu will continue working on this.
I've tested fragments + dedupe with the following testcase:
dataset: Linux 5.10 + Linux 5.10.87 source code
pcluster size: 4k
compressed vanilla 658845696
fragment 634245120
dedupe 488689664
dedupe + fragment 425848832
Gao Xiang (2):
erofs-utils: introduce z_erofs_inmem_extent
erofs-utils: fuse: introduce partial-referenced pclusters
Yue Hu (4):
erofs-utils: fuse: support interlaced uncompressed pcluster
erofs-utils: lib: support fragments data decompression
erofs-utils: mkfs: support interlaced uncompressed data layout
erofs-utils: mkfs: support fragments
Ziyang Zhang (2):
erofs-utils: lib: add rb-tree implementation
erofs-utils: mkfs: introduce global compressed data deduplication
include/erofs/compress.h | 11 +- include/erofs/config.h | 4 +- include/erofs/decompress.h | 3 + include/erofs/dedupe.h | 39 +++ include/erofs/fragments.h | 28 ++ include/erofs/inode.h | 1 + include/erofs/internal.h | 14 + include/erofs_fs.h | 33 ++- lib/Makefile.am | 5 +- lib/compress.c | 296 +++++++++++++++------ lib/data.c | 29 ++- lib/decompress.c | 19 +- lib/dedupe.c | 176 +++++++++++++ lib/fragments.c | 65 +++++ lib/inode.c | 58 ++++- lib/rb_tree.c | 512 +++++++++++++++++++++++++++++++++++++ lib/rb_tree.h | 104 ++++++++ lib/rolling_hash.h | 60 +++++ lib/super.c | 1 + lib/zmap.c | 59 ++++- mkfs/main.c | 77 +++++- 21 files changed, 1492 insertions(+), 102 deletions(-) create mode 100644 include/erofs/dedupe.h create mode 100644 include/erofs/fragments.h create mode 100644 lib/dedupe.c create mode 100644 lib/fragments.c create mode 100644 lib/rb_tree.c create mode 100644 lib/rb_tree.h create mode 100644 lib/rolling_hash.h
Signature · 1 line
2.24.4