[PATCH v4 0/5] fs/squashfs: Add new decompression algorithms
Joao Marcos Costa
joaomarcos.costa at bootlin.com
Tue Aug 18 17:17:20 CEST 2020
Hello,
Following the SquashFS support, this series adds support for LZO and ZSTD
algorithms.
Changes in v4:
- Replace sqfs_decompress() 1st parameter by a reference to
squashfs_ctxt.
- Undo changes in squashfs_ctxt instance at sqfs.c
Changes in v3:
- Reorganize patches order.
- Remove memory leak from sqfs_zstd_decompress().
Changes in v2:
- Change tests architecture.
- Add tests for LZO and ZSTD.
- Skip compression algorithms unsupported by the host's squashfs-tools
version.
- Add sqfs_decompress_init() and sqfs_decompress_cleanup() to SquashFS
support.
Joao Marcos Costa (5):
fs/squashfs: Add init and clean-up functions to decompression
fs/squashfs: replace sqfs_decompress() parameter
fs/squashfs: add support for ZSTD decompression
fs/squashfs: add support for LZO decompression
test/py: Add tests for LZO and ZSTD
fs/squashfs/sqfs.c | 40 +++----
fs/squashfs/sqfs_decompressor.c | 104 +++++++++++++++++-
fs/squashfs/sqfs_decompressor.h | 7 +-
fs/squashfs/sqfs_filesystem.h | 12 +-
.../test_fs/test_squashfs/sqfs_common.py | 76 +++++++++----
.../test_fs/test_squashfs/test_sqfs_load.py | 40 ++++---
.../test_fs/test_squashfs/test_sqfs_ls.py | 33 ++++--
7 files changed, 236 insertions(+), 76 deletions(-)
--
2.17.1
More information about the U-Boot
mailing list