diff options
author | Gao Xiang <hsiangkao@redhat.com> | 2021-03-06 05:04:38 +0100 |
---|---|---|
committer | Gao Xiang <hsiangkao@redhat.com> | 2021-03-08 03:43:32 +0100 |
commit | 9f377622a484de0818c49ee01e0ab4eedf6acd81 (patch) | |
tree | 6d33c88c9a7adf3ffc11bc656ad8e847762eb83b /fs/adfs | |
parent | Linux 5.12-rc2 (diff) | |
download | linux-9f377622a484de0818c49ee01e0ab4eedf6acd81.tar.xz linux-9f377622a484de0818c49ee01e0ab4eedf6acd81.zip |
erofs: fix bio->bi_max_vecs behavior change
Martin reported an issue that directory read could be hung on the
latest -rc kernel with some certain image. The root cause is that
commit baa2c7c97153 ("block: set .bi_max_vecs as actual allocated
vector number") changes .bi_max_vecs behavior. bio->bi_max_vecs
is set as actual allocated vector number rather than the requested
number now.
Let's avoid using .bi_max_vecs completely instead.
Link: https://lore.kernel.org/r/20210306040438.8084-1-hsiangkao@aol.com
Reported-by: Martin DEVERA <devik@eaxlabs.cz>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
[ Gao Xiang: note that <= 5.11 kernels are not impacted. ]
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions