diff options
author | mwilck@arcor.de <mwilck@arcor.de> | 2013-09-09 20:40:14 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-10 01:46:52 +0200 |
commit | 7087f02b90ef7b5817193d385b8d83148565bff9 (patch) | |
tree | f0bc60e78bb7dbf12e22a836a3a9d1c80149caa5 /probe_roms.c | |
parent | Manage.c: fix small memory leak (diff) | |
download | mdadm-7087f02b90ef7b5817193d385b8d83148565bff9.tar.xz mdadm-7087f02b90ef7b5817193d385b8d83148565bff9.zip |
DDF: handle fake RAIDs with changing subarray UUIDs
Some fake RAID BIOSes (in particular, LSI ones) change the
VD GUID at every boot. These GUIDs are not suitable for
identifying an array. Luckily the header GUID appears to
remain constant.
We construct a pseudo-UUID from the header GUID and those
properties of the subarray that we expect to remain constant.
This is only array name and index; all else might change e.g.
during grow.
Don't do this for all non-MD arrays, only for those known
to use varying volume GUIDs.
This patch obsoletes my previous patch "DDF: new algorithm
for subarray UUID"
Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'probe_roms.c')
0 files changed, 0 insertions, 0 deletions