Skip to content
Commit c82aa1b7 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Song Liu
Browse files

md/raid5: move checking badblock before clone bio in raid5_read_one_chunk



We don't need to clone bio if the relevant region has badblock.

Signed-off-by: default avatarGuoqing Jiang <jiangguoqing@kylinos.cn>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 10764815
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment