diff options
| author | oster <oster@NetBSD.org> | 2002-08-03 01:24:03 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2002-08-03 01:24:03 +0000 |
| commit | 354a8ea84b665a33e9759bcbd10490af69dc2889 (patch) | |
| tree | b25a45a65dae968ff7e1ea814f82ca5e635cae87 /sys/dev | |
| parent | 48a3ce178f320d0ad3cabd1a62e55b7e4a85533f (diff) | |
Improve error messages.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/raidframe/rf_driver.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c index a6193206f6b..3e54d9a7f5e 100644 --- a/sys/dev/raidframe/rf_driver.c +++ b/sys/dev/raidframe/rf_driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_driver.c,v 1.52 2002/08/03 00:55:54 oster Exp $ */ +/* $NetBSD: rf_driver.c,v 1.53 2002/08/03 01:24:03 oster Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -73,7 +73,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.52 2002/08/03 00:55:54 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.53 2002/08/03 01:24:03 oster Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -768,7 +768,7 @@ rf_SuspendNewRequestsAndWait(raidPtr) RF_Raid_t *raidPtr; { if (rf_quiesceDebug) - printf("Suspending new reqs\n"); + printf("raid%d: Suspending new reqs\n", raidPtr->raidid); RF_LOCK_MUTEX(raidPtr->access_suspend_mutex); raidPtr->accesses_suspended++; @@ -777,12 +777,13 @@ rf_SuspendNewRequestsAndWait(raidPtr) if (raidPtr->waiting_for_quiescence) { raidPtr->access_suspend_release = 0; while (!raidPtr->access_suspend_release) { - printf("Suspending: Waiting for Quiescence\n"); + printf("raid%d: Suspending: Waiting for Quiescence\n", + raidPtr->raidid); WAIT_FOR_QUIESCENCE(raidPtr); raidPtr->waiting_for_quiescence = 0; } } - printf("Quiescence reached..\n"); + printf("raid%d: Quiescence reached..\n", raidPtr->raidid); RF_UNLOCK_MUTEX(raidPtr->access_suspend_mutex); return (raidPtr->waiting_for_quiescence); |
