]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
md/raid10: extend r10bio devs to raid disks
authorXiao Ni <xni@redhat.com>
Tue, 25 Aug 2020 05:43:00 +0000 (13:43 +0800)
committerSong Liu <songliubraving@fb.com>
Thu, 24 Sep 2020 23:44:45 +0000 (16:44 -0700)
commit8650a889017cb1f6ea6813ccf83a2e9f6fa49dd3
treeb4bd6e25d017a48ab50e43cc872f21da6d364372
parent2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0
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: Coly Li <colyli@suse.de>
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid10.c