summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-04-12 03:31:55 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-04-12 03:31:55 +0000
commitb42b8d240cd8a579a3e3740dccf7c74a43c2c738 (patch)
treebfb4de849091e668c3ff4ded7793c0f2d2a9b3c1 /sys/dev/softraidvar.h
parentc380b0bcdf940a369459bcf6457bcfd0a9d1704f (diff)
Add failure statistics per workunit.
Remove BIOC_SFAILED; we'll only use BIOC_SOFFLINE. Call state change in interrupt handler when a chunk fails.
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 4a7ab9d78c8..f5a61cbde9a 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.6 2007/04/11 22:05:09 marco Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.7 2007/04/12 03:31:54 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <sro@peereboom.us>
*
@@ -65,6 +65,7 @@ struct sr_ccb {
struct sr_workunit *ccb_wu;
struct sr_discipline *ccb_dis;
+ int ccb_target;
int ccb_state;
#define SR_CCB_FREE 0
#define SR_CCB_INPROGRESS 1