]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Monitor.c
mdadm: added --no-sharing option for Monitor mode
authorAnna Czarnowska <anna.czarnowska@intel.com>
Mon, 22 Nov 2010 09:58:06 +0000 (20:58 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:06 +0000 (20:58 +1100)
commitedde9560fa19af53928059784c81a0cf5badefa2
tree45876ccbf0fcbd2d51e8324b276481d08f91f758
parent0eac199a2ce5d7febc071616450c26882779ed09
mdadm: added --no-sharing option for Monitor mode

--no-sharing option disables moving spares between arrays/containers.
Without the option spares are moved if needed according to config rules.
We only allow one process moving spares started with --scan option.
If there is such process running and another instance of Monitor
is starting without --scan, then we issue a warning but allow it
to continue.

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c
ReadMe.c
mdadm.c
mdadm.h