summaryrefslogtreecommitdiff
path: root/super-ddf.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-04-10 12:57:25 +1000
committerNeilBrown <neilb@suse.de>2014-05-21 11:54:48 +1000
commit2770f45a43e7b6e6501b214f7a024945265bfebe (patch)
tree6a998b0cf107bab59b21bb6a30500a46ed914e8e /super-ddf.c
parent55e0007423ef93c331844a7b64dec326dc692e95 (diff)
DDF: explain why spare_refs are ignored.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/super-ddf.c b/super-ddf.c
index a5245d3b..fda41601 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -343,7 +343,10 @@ struct vd_config {
* for concat I hope) */
be64 array_blocks; /* blocks in array */
__u8 pad1[8];
- be32 spare_refs[8];
+ be32 spare_refs[8]; /* This is used to detect missing spares.
+ * As we don't have an interface for that
+ * the values are ignored.
+ */
__u8 cache_pol[8];
__u8 bg_rate;
__u8 pad2[3];