summaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-06-28 08:31:52 +1000
committerNeil Brown <neilb@notabene.brown>2008-06-28 08:31:52 +1000
commit2b7497f0e0a0b9cf21d822e427d5399b2056501a (patch)
tree8cf4d8e056ddafe48d49af0d8afe600868d2d21b /include/linux/raid
parentb203886edbcaac3ca427cf4dbcb50b18bdb346fd (diff)
downloadlinux-stable-2b7497f0e0a0b9cf21d822e427d5399b2056501a.tar.gz
linux-stable-2b7497f0e0a0b9cf21d822e427d5399b2056501a.tar.bz2
linux-stable-2b7497f0e0a0b9cf21d822e427d5399b2056501a.zip
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')
-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 {
#define STRIPE_OP_BIODRAIN 3
#define STRIPE_OP_POSTXOR 4
#define STRIPE_OP_CHECK 5
-#define STRIPE_OP_IO 6
/* modifiers to the base operations
* STRIPE_OP_MOD_REPAIR_PD - compute the parity block and write it back