]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: erofs: add compacted compression indexes support
authorGao Xiang <gaoxiang25@huawei.com>
Mon, 24 Jun 2019 07:22:52 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2019 01:44:39 +0000 (09:44 +0800)
commit152a333a589560bee002e4c96761f1b560a5793c
tree09abb1509d08473c1553bb8be5895d1ac4965fe3
parentec8c24420501d4cf3ed495c4d026984194897276
staging: erofs: add compacted compression indexes support

This patch aims at compacted compression indexes:
 1) cleanup z_erofs_map_blocks_iter and move into zmap.c;
 2) add compacted 4/2B decoding support.

On kirin980 platform, sequential read is increased about
6% (725MiB/s -> 770MiB/s) on enwik9 dataset if compacted 2B
feature is enabled.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/Makefile
drivers/staging/erofs/inode.c
drivers/staging/erofs/internal.h
drivers/staging/erofs/unzip_vle.c
drivers/staging/erofs/zmap.c [new file with mode: 0644]