diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-05-15 16:48:54 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-15 16:48:54 +1000 |
commit | 3e70c845e25295d80680d884d5671107bf8bded3 (patch) | |
tree | 3a8b69bb18e66ee64db5c6a0705d90a9f0843e02 /mdmon.h | |
parent | b109d92863bfa319d140b305132ca41bfb8d1194 (diff) |
add infrastructure to receive higher order commands, like remove_device
From: Dan Williams <dan.j.williams@intel.com>
Each md_message encapsulates a single command. A command includes an 'action'
member which describes what if any data comes after the action. Communication
with the monitor involves updating the active_cmd pointer and then writing to
mgr_pipe. Pass/fail status is returned via mon_pipe.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdmon.h')
-rw-r--r-- | mdmon.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ extern struct active_array *container; extern struct active_array *array_list; extern struct active_array *discard_this; extern struct active_array *pending_discard; +extern struct md_generic_cmd *active_cmd; void do_monitor(struct supertype *container); |