diff options
author | NeilBrown <neilb@suse.de> | 2013-09-02 12:08:44 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-02 12:08:44 +1000 |
commit | 4e5e54cf820fef717085faece24c2e666b3649f2 (patch) | |
tree | ab5204a1ac2b507fb46f9d84495c62e7f38171de /config.c | |
parent | a792ece6768143ea557c63e35437536b9d235bb4 (diff) | |
download | mdadm-4e5e54cf820fef717085faece24c2e666b3649f2.tar.gz |
mdmon: make sure we set safe_mode on SIGTERM.
Without this, array may not go clean and mdmon will then
not exit.
A safe_mode of '0' (which is the only one that is handled differently
by this patch) means "never switch to 'active_idle'". We don't want
that when mdmon is stopping.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions