Skip to content
Commit 8650a889 authored by Xiao Ni's avatar Xiao Ni Committed by Song Liu
Browse files

md/raid10: extend r10bio devs to raid disks



Now it allocs r10bio->devs[conf->copies]. Discard bio needs to submit
to all member disks and it needs to use r10bio. So extend to
r10bio->devs[geo.raid_disks].

Reviewed-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarXiao Ni <xni@redhat.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 2628089b
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