]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: add erofs_map_blocks_iter
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 26 Jul 2018 12:21:58 +0000 (20:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jul 2018 15:24:08 +0000 (17:24 +0200)
commit917254da59e605b0c2faf02f383e882e7c926db8
treeaa1cac00b2a3c4c85eb0d06037db9b4e1835d18d
parentff7c8fed2771ec91d327e1e06f01729901c210fc
staging: erofs: add erofs_map_blocks_iter

This patch introduces an iterable L2P mapping
operation 'erofs_map_blocks_iter'.
Compared with 'erofs_map_blocks', it avoids
a number of redundant 'release and regrab'
processes if they request the same meta page.

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