diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-10-02 15:42:57 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-10-15 14:43:57 -0700 |
commit | 883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18 (patch) | |
tree | a476f8f2b2aab73759952579599b9bf96bd02d94 /Makefile | |
parent | 6144ed441445ee4d567614aaed78dd24148881ce (diff) | |
download | mdadm-883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18.tar.gz mdadm-883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18.tar.xz mdadm-883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18.zip |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ SRCS = mdadm.c config.c mdstat.c ReadMe.c util.c Manage.c Assemble.c Build.c \ MON_OBJS = mdmon.o monitor.o managemon.o util.o mdstat.o sysfs.o config.o \ Kill.o sg_io.o dlink.o ReadMe.o super0.o super1.o super-intel.o \ - super-ddf.o sha1.o crc32.o msg.o + super-ddf.o sha1.o crc32.o msg.o Monitor.o STATICSRC = pwgr.c |