summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 86f757c344b..00e7ba4c61b 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.161 2015/07/21 03:30:51 krw Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.162 2016/04/04 18:48:39 krw Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -19,7 +19,7 @@
#ifndef SOFTRAIDVAR_H
#define SOFTRAIDVAR_H
-#define SR_META_VERSION 5 /* bump when sr_metadata changes */
+#define SR_META_VERSION 6 /* bump when sr_metadata changes */
#define SR_META_SIZE 64 /* save space at chunk beginning */
#define SR_META_OFFSET 16 /* skip 8192 bytes at chunk beginning */
@@ -135,7 +135,7 @@ struct sr_metadata {
/* optional */
u_int32_t ssd_opt_no; /* nr of optional md elements */
- u_int32_t ssd_pad;
+ u_int32_t ssd_secsize;
/* volume metadata */
u_int32_t ssd_volid; /* volume id */
@@ -473,6 +473,7 @@ struct sr_chunk {
char src_devname[32];
u_char src_duid[8]; /* Chunk disklabel UID. */
int64_t src_size; /* in blocks */
+ u_int32_t src_secsize;
SLIST_ENTRY(sr_chunk) src_link;
};