summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-07-26 03:49:55 +0200
committerNeilBrown <neilb@suse.de>2010-07-26 04:52:27 +0200
commit768a418db102bb6aa6064e6090892b5c21ff1f9e (patch)
tree2f33acbf0ca542f43c8014201b539ae8f461ee5c /drivers/md/md.h
parentmd: export various start/stop interfaces (diff)
downloadlinux-768a418db102bb6aa6064e6090892b5c21ff1f9e.tar.xz
linux-768a418db102bb6aa6064e6090892b5c21ff1f9e.zip
md: add support for raising dm events.
dm uses scheduled work to raise events to user-space. So allow md device to have work_structs and schedule them on an error. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r--drivers/md/md.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 6e7e3495f6e4..c88b04745e85 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -318,6 +318,7 @@ struct mddev_s
struct bio *barrier;
atomic_t flush_pending;
struct work_struct barrier_work;
+ struct work_struct event_work; /* used by dm to report failure event */
};