Revert "md/raid10: extend r10bio devs to raid disks"
authorSong Liu <songliubraving@fb.com>
Wed, 9 Dec 2020 19:44:20 +0000 (11:44 -0800)
committerSong Liu <songliubraving@fb.com>
Thu, 10 Dec 2020 04:46:01 +0000 (20:46 -0800)
commit17c28c2a068730e9d065a0e4ed03beed074d8997
tree0087480003b6c8aae7a62a03e04c519044cd6951
parent4e2c6567efdd6f252e1874c41c8db4abfb0a9bf3
Revert "md/raid10: extend r10bio devs to raid disks"

This reverts commit 8650a889017cb1f6ea6813ccf83a2e9f6fa49dd3.

Matthew Ruffell reported data corruption in raid10 due to the changes
in discard handling [1]. Revert these changes before we find a proper fix.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
Cc: Matthew Ruffell <matthew.ruffell@canonical.com>
Cc: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid10.c