diff options
author | NeilBrown <neilb@suse.de> | 2010-06-30 16:55:17 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-06-30 16:55:17 +1000 |
commit | 3b57c4661a8599938cb7c521a9db0a8c59251338 (patch) | |
tree | 5fc8c89c7af2c13e7ba9bd6606151ccbb10d2504 /Incremental.c | |
parent | 7e6140e6c614025aea1d20a8d790a651b7d5b8c4 (diff) | |
download | mdadm-3b57c4661a8599938cb7c521a9db0a8c59251338.tar.gz mdadm-3b57c4661a8599938cb7c521a9db0a8c59251338.tar.xz mdadm-3b57c4661a8599938cb7c521a9db0a8c59251338.zip |
Add mdstat_by_component
This allows finding the array which contains a given component.
Components are named using the kernel-internal string name such
as "sda1" or "hdb".
Don't return member arrays, only the contain that contains them.
Also tidy up the parsing of 'inactive' arrays in /proc/mdstat.
If we see 'inactive' we need to set 'in_devs' immediately as there
is no level coming.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
0 files changed, 0 insertions, 0 deletions