[PATCH v3 0/4] fs/squashfs: Add new decompression algorithms

Joao Marcos Costa joaomarcos.costa at bootlin.com
Tue Aug 18 16:31:14 CEST 2020


Hello,

Following the SquashFS support, this series adds support for LZO and ZSTD
algorithms.

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 (4):
  fs/squashfs: Add init. and clean-up functions to decompression
  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                            |  87 ++++++++-------
 fs/squashfs/sqfs_decompressor.c               | 103 +++++++++++++++++-
 fs/squashfs/sqfs_decompressor.h               |   3 +
 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, 261 insertions(+), 93 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list