Revert "md/raid10: improve raid10 discard request"
authorSong Liu <songliubraving@fb.com>
Wed, 9 Dec 2020 19:43:08 +0000 (11:43 -0800)
committerSong Liu <songliubraving@fb.com>
Thu, 10 Dec 2020 04:46:00 +0000 (20:46 -0800)
commitd7cb6be0d0cdced2a7a96bd80a8f835e77ec5204
tree7270755c2e92c266f0a0f1d7f9757c9ce789db81
parent82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25
Revert "md/raid10: improve raid10 discard request"

This reverts commit bcc90d280465ebd51ab8688be86e1f00c62dccf9.

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