aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2020-12-09 11:38:11 -0800
committerSong Liu <songliubraving@fb.com>2020-12-09 20:46:00 -0800
commit82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25 (patch)
tree89ef11ea3a1bc8ea2ea14dc0a4a7a42d98b953de /drivers/md/raid10.h
parentRevert "dm raid: remove unnecessary discard limits for raid10" (diff)
downloadlinux-dev-82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25.tar.xz
linux-dev-82fe9af77cd11ea7bdc133ceed1f7f5fc08f7d25.zip
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.h1
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