]> git.itanic.dy.fi Git - linux-stable/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)
commite2782f560c298efc2e23c7e54b3acf54e8a6ba72
treedbc250342acbb70881fcc0a709e29a485f3503d7
parent7e7986f9d3ba69a7375a41080a1f8c8012cb0923
Revert "dm raid: remove unnecessary discard limits for raid10"

This reverts commit f0e90b6c663a7e3b4736cb318c6c7c589f152c28.

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