]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: spare devices are represented as single disk containers
authorDan Williams <dan.j.williams@intel.com>
Wed, 6 Aug 2008 16:09:25 +0000 (09:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 9 Aug 2008 20:37:54 +0000 (13:37 -0700)
commitd23fe9472d47e136a56fec17d072dab41e88e505
tree7e85fa10619c223b0088b8cd7079a1b6bedd8ce3
parentb9f594fea0c7e2060a775dae11feb01a7c02dbd4
imsm: spare devices are represented as single disk containers

This poses a small problem for the case of handling multiple raid1 arrays
across separate disk pairs i.e. 2 mirrors on 4 disks.  The option-ROM will
configure this as two containers.  We may need the capability for one
container to ask for an unused spare in another container.  For now spares
will just maintain the affinity established at assemble time.

To support this configuration spare devices must be allowed to be assembled
into the container even though the metadata indicates the disk belongs to a
different family.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c