[PATCH 0/7] erofs: add LZMA compression support

Gao Xiang xiang at kernel.org
Thu Oct 14 12:45:49 AEDT 2021


On Mon, Oct 11, 2021 at 05:31:38AM +0800, Gao Xiang wrote:

...

> 
> 
> Hi Andrew,
> 
> Some XZ embedded (lib/xz) patches by Lasse are sent out together in this series
> although they're irrelevant to MicroLZMA but quite coupled. Can I send a pull
> request together with EROFS LZMA support for 5.16 then? Many thanks in advance!

ping.. I've tested EROFS LZMA support with my own ro_fsstress. I'd like to
apply them into -next for wider integration tests even though MicroLZMA
itself is relatively independent decoder (it mainly calls raw LZMA decoding
functions) thus it should not impact all the current users.

Thanks,
Gao Xiang


> 
> Thanks,
> Gao Xiang
> 
> 
> Gao Xiang (2):
>   erofs: rename some generic methods in decompressor
>   erofs: lzma compression support
> 
> Lasse Collin (5):
>   lib/xz: Avoid overlapping memcpy() with invalid input with in-place
>     decompression
>   lib/xz: Validate the value before assigning it to an enum variable
>   lib/xz: Move s->lzma.len = 0 initialization to lzma_reset()
>   lib/xz: Add MicroLZMA decoder
>   lib/xz, lib/decompress_unxz.c: Fix spelling in comments
> 
>  fs/erofs/Kconfig             |  16 ++
>  fs/erofs/Makefile            |   1 +
>  fs/erofs/compress.h          |  16 ++
>  fs/erofs/decompressor.c      |  73 +++++----
>  fs/erofs/decompressor_lzma.c | 290 +++++++++++++++++++++++++++++++++++
>  fs/erofs/erofs_fs.h          |  14 +-
>  fs/erofs/internal.h          |  22 +++
>  fs/erofs/super.c             |  17 +-
>  fs/erofs/zdata.c             |   4 +-
>  fs/erofs/zdata.h             |   7 -
>  fs/erofs/zmap.c              |   5 +-
>  include/linux/xz.h           | 106 +++++++++++++
>  lib/decompress_unxz.c        |  10 +-
>  lib/xz/Kconfig               |  13 ++
>  lib/xz/xz_dec_lzma2.c        | 182 +++++++++++++++++++++-
>  lib/xz/xz_dec_stream.c       |   6 +-
>  lib/xz/xz_dec_syms.c         |   9 +-
>  lib/xz/xz_private.h          |   3 +
>  18 files changed, 725 insertions(+), 69 deletions(-)
>  create mode 100644 fs/erofs/decompressor_lzma.c
> 
> -- 
> 2.20.1
> 


More information about the Linux-erofs mailing list