]> 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)
commitac8f8720412fbe741d1a544141b80602720d276d
treedbc250342acbb70881fcc0a709e29a485f3503d7
parent948d91cac96b67cfd669ee6939a39891e51f0a2b
Revert "dm raid: remove unnecessary discard limits for raid10"

This reverts commit 3b926509f90d325d9ff3733d66b54f69bf550ffe.

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