author | Xiao Ni <xni@redhat.com> | |
Tue, 25 Aug 2020 05:43:00 +0000 (13:43 +0800) | ||
committer | Song Liu <songliubraving@fb.com> | |
Thu, 24 Sep 2020 23:44:45 +0000 (16:44 -0700) | ||
commit | 8650a889017cb1f6ea6813ccf83a2e9f6fa49dd3 | |
tree | b4bd6e25d017a48ab50e43cc872f21da6d364372 | tree | snapshot (tar.xz tar.gz zip) |
parent | 2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0 | commit | diff |
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>
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 | diff | blob | history |