summaryrefslogtreecommitdiffstats
path: root/mdmon.c
Commit message (Collapse)AuthorAgeFilesLines
* Keep container device open in monitorNeil Brown2008-07-121-2/+0
| | | | | ... so that it cannot be stopped while there are active arrays. I don't know where that second 'close' came from ....
* Revise message passing code.Neil Brown2008-07-121-1/+6
| | | | More here
* Remove mgr_pipe for communicating from manage to monitor.Neil Brown2008-07-121-17/+22
| | | | | Data is being passed in shared memory, so the pipe is only being use as a wakeup. This can more easily be done with a thread-signal.
* Remove mon_pipe for communicating from monitor to managerNeil Brown2008-07-121-6/+0
| | | | | | The returned value was never used, and we don't really want this return path anyway as writing to a pipe could conceivably block, and the monitor must not block.
* imsm: reenable mdmonDan Williams2008-06-161-0/+2
| | | | Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* Exit when there are no more arrays to manage.Neil Brown2008-05-271-1/+10
|
* Remove supertype->devfdNeil Brown2008-05-271-1/+1
| | | | It is never used.
* Remove stopped arrays.Neil Brown2008-05-271-0/+6
| | | | | | When an array becomes inactive, clean up and forget it. This involves signalling the manager.
* Discard 'array_list' in mdmonNeil Brown2008-05-271-1/+0
| | | | The container has an ->arrays field that we should be using.
* add infrastructure to receive higher order commands, like remove_deviceDan Williams2008-05-151-7/+19
| | | | | | | | | | | 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>
* start fleshing out socket code, ping monitor to see if it is aliveDan Williams2008-05-151-6/+51
| | | | | | From: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* Merge mdmonNeil Brown2008-05-151-0/+222