staging: erofs: decompress asynchronously if PG_readahead page at first
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 22 Nov 2018 17:21:48 +0000 (01:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 09:53:08 +0000 (10:53 +0100)
commit2d9b5dcd99428f9b8faea7f76c3e30c37c32cc9c
tree57f8c12e6425e2eb00b93a1f0695d7fecf1ef4be
parent23edf3abe7abb1d1ab856c893629b96209473a5b
staging: erofs: decompress asynchronously if PG_readahead page at first

For the case of nr_to_read == lookahead_size, it is better to
decompress asynchronously as well since no page will be needed immediately.

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/unzip_vle.c