]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Policy is aware of metadata disk's controller domains.
authorMarcin Labun <marcin.labun@intel.com>
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)
commit2cda7640f9e2d4eb880914260da6e61a01e5234c
treee31b7d232957631631b18b7f32810c79cf053ff1
parent80e7f8c31a514b02d227a083cb2bcb34f70c0eee
Policy is aware of metadata disk's controller domains.

Platform (metadata) domain let the metadata handlers differentiate
disk domains based on controllers that the disk belongs to.
Platform domain is sub-domain inside user specified domain
in mdadm.conf configuration files inheriting all parameters from it.
The metadata domain name is used disk domain matching functions.
The disk with the same metadata domain name belong to the same metadata
domain.

New metadata handler is added that retrieves platform domain string based
on disk path:
const char *(*get_disk_controller_domain)(const char *path);

Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.h
policy.c
super-intel.c