summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-04-14 21:28:09 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-04-14 21:28:09 +0000
commit2b557918e322241e985aa9c481cde72b63f87e5f (patch)
tree2d8913687092186a0d7e94ca58d246e73cf4defc /sys/dev/softraidvar.h
parentcfa518398890b664bcbcf104079ed6bfe1ee2dde (diff)
shave some blocks off each chunk to make sure disklabel doesn't get eaten
this can also be used for softraid metadata ok marco
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index f5a61cbde9a..5d889ffa3f8 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.7 2007/04/12 03:31:54 marco Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.8 2007/04/14 21:28:08 tedu Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <sro@peereboom.us>
*
@@ -116,8 +116,8 @@ TAILQ_HEAD(sr_wu_list, sr_workunit);
#define SR_META_PD 1 /* only 1 PD per metadata block */
#define SR_META_VD 1 /* only 1 VD per metadata block */
#define SR_META_DATA 1 /* only 1 metadata block per disk */
-#define SR_META_FUDGE 32 /* save some space at the end of chunk */
-#define SR_META_VERSION 1 /* bump when sr_metadata changes */
+#define SR_META_FUDGE 32 /* save space at chunk beginning */
+#define SR_META_VERSION 1 /* bump when sr_metadata changes */
struct sr_metadata {
/* do not change order of ssd_magic, ssd_version and ssd_big_endian */
u_int64_t ssd_magic; /* magic id */