[GIT PULL] erofs fix for 5.12-rc3

From: Gao Xiang
Date: Sat Mar 13 2021 - 07:41:36 EST


Hi Linus,

Could you consider this pull request for 5.11-rc3?
All details about this new regression are as below.

All commits have been tested and have been in -next for days.
This merges cleanly with master.

Thanks,
Gao Xiang

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.12-rc3

for you to fetch changes up to 9f377622a484de0818c49ee01e0ab4eedf6acd81:

erofs: fix bio->bi_max_vecs behavior change (2021-03-08 10:43:32 +0800)

----------------------------------------------------------------
Change since last update:

Fix an urgent regression introduced by commit baa2c7c97153 ("block:
set .bi_max_vecs as actual allocated vector number"), which could
cause unexpected hung since linux 5.12-rc1.

Resolve it by avoiding using bio->bi_max_vecs completely.

----------------------------------------------------------------
Gao Xiang (1):
erofs: fix bio->bi_max_vecs behavior change

fs/erofs/data.c | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)