]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdmon.c
add infrastructure to receive higher order commands, like remove_device
authorDan Williams <dan.j.williams@intel.com>
Thu, 15 May 2008 06:48:54 +0000 (16:48 +1000)
committerNeil Brown <neilb@suse.de>
Thu, 15 May 2008 06:48:54 +0000 (16:48 +1000)
commit3e70c845e25295d80680d884d5671107bf8bded3
tree3a8b69bb18e66ee64db5c6a0705d90a9f0843e02
parentb109d92863bfa319d140b305132ca41bfb8d1194
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>
managemon.c
mdadm.h
mdmon.c
mdmon.h
monitor.c
msg.h