commit | 768a418db102bb6aa6064e6090892b5c21ff1f9e | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Jul 26 11:49:55 2010 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 26 12:52:27 2010 +1000 |
tree | 2f33acbf0ca542f43c8014201b539ae8f461ee5c | |
parent | 390ee602a142a93f2c7eb7bffee8e277058b8e0a [diff] [blame] |
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>
diff --git a/drivers/md/md.h b/drivers/md/md.h index 6e7e349..c88b047 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h
@@ -318,6 +318,7 @@ struct bio *barrier; atomic_t flush_pending; struct work_struct barrier_work; + struct work_struct event_work; /* used by dm to report failure event */ };