[PATCH v2 2/3] fs/erofs: add lz4 1.8.3 decompressor
Tom Rini
trini at konsulko.com
Thu Aug 26 08:39:53 AEST 2021
On Mon, Aug 23, 2021 at 08:36:45PM +0800, Huang Jianan wrote:
> From: Huang Jianan <huangjianan at oppo.com>
>
> In order to use the newest LZ4_decompress_safe_partial() which can
> now decode exactly the nb of bytes requested.
>
> Signed-off-by: Huang Jianan <huangjianan at oppo.com>
> ---
> fs/erofs/Makefile | 3 +-
> fs/erofs/lz4.c | 534 ++++++++++++++++++++++++++++++++++++++++++++++
> fs/erofs/lz4.h | 5 +
> 3 files changed, 541 insertions(+), 1 deletion(-)
> create mode 100644 fs/erofs/lz4.c
> create mode 100644 fs/erofs/lz4.h
Why not use the existing lz4 support, or if it needs updating for new
features, update it?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20210825/1b347521/attachment.sig>
More information about the Linux-erofs
mailing list