diff options
| author | Gao Xiang <gaoxiang25@huawei.com> | 2018-09-18 22:25:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-18 16:34:35 +0200 |
| commit | 0734ffbf574ee813b20899caef2fe0ed502bb783 (patch) | |
| tree | 3fcf886bf71f79be0ab07c6030b12ddc4165b46d /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | c1ccc8670c269ff088473d3dc27854f8098991fd (diff) | |
| download | kernel-0734ffbf574ee813b20899caef2fe0ed502bb783.tar.gz | |
staging: erofs: fix a bug when appling cache strategy
As described in Kconfig, the last compressed pack should be cached
for further reading for either `EROFS_FS_ZIP_CACHE_UNIPOLAR' or
`EROFS_FS_ZIP_CACHE_BIPOLAR' by design.
However, there is a bug in z_erofs_do_read_page, it will
switch `initial' to `false' at the very beginning before it decides
to cache the last compressed pack.
caching strategy should work properly after appling this patch.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
