diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-08-01 02:11:41 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-08-01 02:11:41 +0200 |
commit | f98d41ddb4ac543176f33454ceb70983109272d9 (patch) | |
tree | b66a7dc82226dbb95e5f449592ed00b0579e168b /Monitor.c | |
parent | teach imsm and ddf what st->subarray means at load_super time (diff) | |
download | mdadm-f98d41ddb4ac543176f33454ceb70983109272d9.tar.xz mdadm-f98d41ddb4ac543176f33454ceb70983109272d9.zip |
fix RebuildMap() to retrieve 'subarray' info
RebuildMap falsely returns container info for member arrays. Retrieving
the subarray and container_dev details prior to ->load_super() changes the
result from:
md127 imsm 082c6371:74b5ce03:64972e41:6b0860d5 /dev/md/imsm
md126 imsm 082c6371:74b5ce03:64972e41:6b0860d5 /dev/md/vol0
...to:
md126 /md127/0 3e03aee2:78c3c593:1e8ecaf0:eefb53ed /dev/md/vol0
md127 imsm 082c6371:74b5ce03:64972e41:6b0860d5 /dev/md/imsm
Reported-by: Ignacy Kasperowicz <ignacy.kasperowicz@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Monitor.c')
0 files changed, 0 insertions, 0 deletions