Re: [PATCH v4 3/5] fs/squashfs: add support for ZSTD decompression

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:23PM +0200, Joao Marcos Costa wrote: > Add call to ZSTD's ZSTD_decompressDCtx(). In this use case, the caller > can upper bound the decompressed size, which will be the SquashFS data > block (or metadata block) size, so there is no need to use streaming > API. Add ZST

[PATCH v4 3/5] fs/squashfs: add support for ZSTD decompression

2020-08-18 Thread Joao Marcos Costa
Add call to ZSTD's ZSTD_decompressDCtx(). In this use case, the caller can upper bound the decompressed size, which will be the SquashFS data block (or metadata block) size, so there is no need to use streaming API. Add ZSTD's worskpace to squashfs_ctxt structure. Signed-off-by: Joao Marcos Costa