summaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-07-23 13:09:48 -0700
committerDan Williams <dan.j.williams@intel.com>2008-07-23 13:09:48 -0700
commitd8e64406a037a64444175730294e449c9e21f5ec (patch)
tree5ac7525899ebc1d2fd9a83a6e19cd0b1b1b1711d /include/linux/raid
parent2339788376e2d69a9154130e4dacd5b21ce63094 (diff)
downloadop-kernel-dev-d8e64406a037a64444175730294e449c9e21f5ec.zip
op-kernel-dev-d8e64406a037a64444175730294e449c9e21f5ec.tar.gz
md: delay notification of 'active_idle' to the recovery thread
sysfs_notify might sleep, so do not call it from md_safemode_timeout. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/md_k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h
index 9f2549a..c200b9a 100644
--- a/include/linux/raid/md_k.h
+++ b/include/linux/raid/md_k.h
@@ -128,6 +128,7 @@ struct mddev_s
#define MD_CHANGE_DEVS 0 /* Some device status has changed */
#define MD_CHANGE_CLEAN 1 /* transition to or from 'clean' */
#define MD_CHANGE_PENDING 2 /* superblock update in progress */
+#define MD_NOTIFY_ARRAY_STATE 3 /* atomic context wants to notify userspace */
int ro;
OpenPOWER on IntegriCloud