aboutsummaryrefslogtreecommitdiff
path: root/lkm
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>1998-11-03 06:37:57 +0000
committerGreg Lehey <grog@FreeBSD.org>1998-11-03 06:37:57 +0000
commit8ef3d686c93b59f936ca9721c6dff87b4ebee603 (patch)
tree0413e45fcd99cbe92c7a3fdde73f44b3b59cca80 /lkm
parent62ae0ffa9557750d59a6432365b5d88c17a3f15e (diff)
Notes
Diffstat (limited to 'lkm')
-rw-r--r--lkm/vinum/interrupt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lkm/vinum/interrupt.c b/lkm/vinum/interrupt.c
index 1557cfe69d3e2..086d6d1baa89f 100644
--- a/lkm/vinum/interrupt.c
+++ b/lkm/vinum/interrupt.c
@@ -35,7 +35,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: interrupt.c,v 1.1 1998/08/13 06:12:27 grog Exp grog $
+ * $Id: interrupt.c,v 1.2 1998/10/30 06:39:36 grog Exp grog $
*/
#define REALLYKERNEL
@@ -82,6 +82,10 @@ complete_rqe(struct buf *bp)
rq->error = EIO; /* no: catchall "I/O error" */
if (rq->error == EIO) /* I/O error, */
set_sd_state(rqe->sdno, sd_crashed, setstate_force | setstate_noupdate); /* take the subdisk down */
+ else if (rq->error = ENXIO) /* or "not configured" (drive down) */
+ set_drive_state(rqe->driveno, /* take the drive down */
+ drive_down,
+ setstate_force | setstate_noupdate);
}
/* Now update the statistics */
if (bp->b_flags & B_READ) { /* read operation */