diff options
author | Song Liu <songliubraving@fb.com> | 2020-12-09 11:38:11 -0800 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-12-09 20:46:00 -0800 |
commit | 82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25 (patch) | |
tree | 89ef11ea3a1bc8ea2ea14dc0a4a7a42d98b953de /drivers/md/raid10.h | |
parent | e2782f560c298efc2e23c7e54b3acf54e8a6ba72 (diff) | |
download | linux-82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25.tar.bz2 |
Revert "md/raid10: improve discard request for far layout"
This reverts commit d3ee2d8415a6256c1c41e1be36e80e640c3e6359.
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>
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r-- | drivers/md/raid10.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h index 1461fd55311b..79cd2b7d3128 100644 --- a/drivers/md/raid10.h +++ b/drivers/md/raid10.h @@ -179,6 +179,5 @@ enum r10bio_state { R10BIO_Previous, /* failfast devices did receive failfast requests. */ R10BIO_FailFast, - R10BIO_Discard, }; #endif |