]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Monitor.c
Monitor: policy based spare migration.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:07 +0000 (20:58 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:07 +0000 (20:58 +1100)
commite78dda3bf5ff840b65e85dbd7fc24ec4ccd291a5
treeda8f35e89c6ea9ee90ca54674a416fdfa67dd044
parent2feb22efbc216e53486cc20c05df13f8340a9d49
Monitor: policy based spare migration.

Rather than only migrating between arrays with the same spare_group,
we now migrate based on domains set in the policy.

In order for spare_group to continue to work, we treat it as a domain
of the destination array, and a domain of any device we might remove
from a source array.

Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c
mdadm.h
policy.c