mbox series

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

Message ID 20200818143118.16422-1-joaomarcos.costa@bootlin.com
Headers show
Series fs/squashfs: Add new decompression algorithms | expand

Message

Joao Marcos Costa Aug. 18, 2020, 2:31 p.m. UTC
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(-)