diff options
author | 2020-12-09 19:57:40 +0800 | |
---|---|---|
committer | 2020-12-10 11:07:40 +0800 | |
commit | d8b3df8b1048405e73558b88cba2adf29490d468 (patch) | |
tree | 960135b0bde11aea7db83dd05606646986bdc723 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | erofs: force inplace I/O under low memory scenario (diff) | |
download | linux-dev-d8b3df8b1048405e73558b88cba2adf29490d468.tar.xz linux-dev-d8b3df8b1048405e73558b88cba2adf29490d468.zip |
erofs: avoid using generic_block_bmap
Surprisingly, `block' in sector_t indicates the number of
i_blkbits-sized blocks rather than sectors for bmap.
In addition, considering buffer_head limits mapped size to 32-bits,
should avoid using generic_block_bmap.
Link: https://lore.kernel.org/r/20201209115740.18802-1-huangjianan@oppo.com
Fixes: 9da681e017a3 ("staging: erofs: support bmap")
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Signed-off-by: Guo Weichao <guoweichao@oppo.com>
[ Gao Xiang: slightly update the commit message description. ]
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions