]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "dm raid: remove unnecessary discard limits for raid10"
authorSong Liu <songliubraving@fb.com>
Wed, 9 Dec 2020 21:53:31 +0000 (13:53 -0800)
committerSong Liu <songliubraving@fb.com>
Thu, 10 Dec 2020 04:43:48 +0000 (20:43 -0800)
commitae5f68a484279a86d329ec10a31ab38a33d6223f
treedbc250342acbb70881fcc0a709e29a485f3503d7
parent4031cff231934b2ed1ac901716d87ec45d3777ea
Revert "dm raid: remove unnecessary discard limits for raid10"

This reverts commit 4b9aa69a0b6c0535946cc494e37a24b153f78add.

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>
Cc: Mike Snitzer <snitzer@redhat.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/dm-raid.c