aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid/raid5.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-06-27 18:31:52 -0400
committerNeil Brown <neilb@notabene.brown>2008-06-27 18:31:52 -0400
commit2b7497f0e0a0b9cf21d822e427d5399b2056501a (patch)
tree8cf4d8e056ddafe48d49af0d8afe600868d2d21b /include/linux/raid/raid5.h
parentb203886edbcaac3ca427cf4dbcb50b18bdb346fd (diff)
md: kill STRIPE_OP_IO flag
From: Dan Williams <dan.j.williams@intel.com> The R5_Want{Read,Write} flags already gate i/o. So, this flag is superfluous and we can unconditionally call ops_run_io(). Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid/raid5.h')
-rw-r--r--include/linux/raid/raid5.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h
index 4ecae31a3dcb..1301195abf4b 100644
--- a/include/linux/raid/raid5.h
+++ b/include/linux/raid/raid5.h
@@ -263,7 +263,6 @@ struct r6_state {
263#define STRIPE_OP_BIODRAIN 3 263#define STRIPE_OP_BIODRAIN 3
264#define STRIPE_OP_POSTXOR 4 264#define STRIPE_OP_POSTXOR 4
265#define STRIPE_OP_CHECK 5 265#define STRIPE_OP_CHECK 5
266#define STRIPE_OP_IO 6
267 266
268/* modifiers to the base operations 267/* modifiers to the base operations
269 * STRIPE_OP_MOD_REPAIR_PD - compute the parity block and write it back 268 * STRIPE_OP_MOD_REPAIR_PD - compute the parity block and write it back