diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-22 09:42:14 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-22 09:42:14 +0000 |
commit | a2d6d56f4ef3a3577c398eeeb12f09f42db00de9 (patch) | |
tree | bfd2f3b807dc0c3bf51efb4854aebcd8c52e918f /sys/dev | |
parent | 2b8885f82a51e529313aa8e9bfbc1c2a46c70b27 (diff) |
Add a debug flag for rebuild.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/softraid.c | 3 | ||||
-rw-r--r-- | sys/dev/softraidvar.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 6f988f6f7e7..8dd13384d6b 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.329 2014/01/22 09:03:19 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.330 2014/01/22 09:42:13 jsing Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -71,6 +71,7 @@ uint32_t sr_debug = 0 /* | SR_D_META */ /* | SR_D_DIS */ /* | SR_D_STATE */ + /* | SR_D_REBUILD */ ; #endif diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index bdd19224da5..13e07e94993 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.153 2014/01/22 09:03:19 jsing Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.154 2014/01/22 09:42:13 jsing Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -321,6 +321,7 @@ extern u_int32_t sr_debug; #define SR_D_META 0x0040 #define SR_D_DIS 0x0080 #define SR_D_STATE 0x0100 +#define SR_D_REBUILD 0x0200 #else #define DPRINTF(x...) #define DNPRINTF(n,x...) |