summaryrefslogtreecommitdiffstats
path: root/super-ddf.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-09-18 16:07:32 +1000
committerNeilBrown <neilb@suse.de>2008-09-18 16:07:32 +1000
commit51006d85865f8fd1bb495bfc37fb83414117f149 (patch)
tree3c08ad154aa8e3cd2cb1e7f254d6484d025f7cbc /super-ddf.c
parent9362c1c80c4464fb66e3cc9eb8ba7631f21810d7 (diff)
downloadmdadm-51006d85865f8fd1bb495bfc37fb83414117f149.tar.gz
mdadm-51006d85865f8fd1bb495bfc37fb83414117f149.tar.xz
mdadm-51006d85865f8fd1bb495bfc37fb83414117f149.zip
Add uuid support for super-intel.
'imsm' does not provide any real uuid, so we synthesise one from various stable bits of the superblock.
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/super-ddf.c b/super-ddf.c
index 2c82fd9..77ce46f 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -1180,11 +1180,14 @@ static void uuid_from_super_ddf(struct supertype *st, int uuid[4])
* uuid to put into bitmap file (Create, Grow)
* uuid for backup header when saving critical section (Grow)
* comparing uuids when re-adding a device into an array
+ * In these cases the uuid required is that of the data-array,
+ * not the device-set.
+ * uuid to recognise same set when adding a missing device back
+ * to an array. This is a uuid for the device-set.
+ *
* For each of these we can make do with a truncated
* or hashed uuid rather than the original, as long as
* everyone agrees.
- * In each case the uuid required is that of the data-array,
- * not the device-set.
* In the case of SVD we assume the BVD is of interest,
* though that might be the case if a bitmap were made for
* a mirrored SVD - worry about that later.