On 2020/11/27 20:24, Gao Xiang via Linux-erofs wrote:
> From: Huang Jianan <huangjia...@oppo.com>
> 
> This patch adds a simple approach (~ 700 LOC) to EROFS fixed-sized
> output decompression without inplace I/O or decompression inplace
> so it's easy to be ported everywhere with less constraint.
> 
> However, the on-disk compressed index parser (aka. zmap) is largely
> kept in line with the kernel side, therefore new on-disk features
> under development can be verified effectively first here.
> 
> Signed-off-by: Huang Jianan <huangjia...@oppo.com>
> Signed-off-by: Guo Weichao <guoweic...@oppo.com>
> Signed-off-by: Gao Xiang <hsiang...@aol.com>
> ---
> changes since v3:
>  - fix build error without lz4 library.
> 
>  include/erofs/decompress.h |  35 ++++
>  include/erofs/defs.h       |   5 +
>  include/erofs/internal.h   |   8 +
>  lib/Makefile.am            |   2 +-
>  lib/data.c                 |  72 ++++++-
>  lib/decompress.c           |  87 ++++++++
>  lib/namei.c                |   4 +
>  lib/zmap.c                 | 415 +++++++++++++++++++++++++++++++++++++
>  8 files changed, 626 insertions(+), 2 deletions(-)
>  create mode 100644 include/erofs/decompress.h
>  create mode 100644 lib/decompress.c
>  create mode 100644 lib/zmap.c
> 

It looks good
Reviewed-by: Li Guifu <bluce....@aliyun.com>
Tested-by: Li Guifu <bluce....@aliyun.com>
Thanks,

Reply via email to