]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdmon: wait after trying to kill
authorDan Williams <dan.j.williams@intel.com>
Thu, 2 Oct 2008 22:42:57 +0000 (15:42 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 15 Oct 2008 21:43:57 +0000 (14:43 -0700)
commit883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18
treea476f8f2b2aab73759952579599b9bf96bd02d94
parent6144ed441445ee4d567614aaed78dd24148881ce
mdmon: wait after trying to kill

Now that mdmon handles sigterm if another monitor wants to take over it
should wait until all managed arrays are clean.  So make WaitClean()
available to mdmon and teach try_kill_monitor() to wait on each subarray
in the container.

...since we may be communicating with a dieing process, we need to
block SIGPIPE earlier.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Makefile
managemon.c
mdmon.c
mdmon.h