summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1998-10-14 20:44:05 +0000
committerken <ken@FreeBSD.org>1998-10-14 20:44:05 +0000
commitf6b726eb485eaf48075c8c2ff05b41e0dc95c07c (patch)
tree9b15aee59829d2c961f5c02561bb51ab8ec66769 /sys/kern
parentfa52c3954ad8e9f284a5cbee355893f39b62ff17 (diff)
downloadFreeBSD-src-f6b726eb485eaf48075c8c2ff05b41e0dc95c07c.zip
FreeBSD-src-f6b726eb485eaf48075c8c2ff05b41e0dc95c07c.tar.gz
Disable the 'devstat_end_transaction' busy count printf until after 3.0
release goes out the door. We know there's a bug in the devstat implementation in the wd driver, but bde and msmith haven't been able to fix it yet. So, disable the printf to avoid confusing/worrying people. Suggested by: msmith
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_devstat.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 0e684c5..51c73df 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: subr_devstat.c,v 1.2 1998/09/20 00:10:39 ken Exp $
+ * $Id: subr_devstat.c,v 1.3 1998/10/06 04:16:07 ken Exp $
*/
#include <sys/param.h>
@@ -177,10 +177,18 @@ devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
/* Add our busy time to the total busy time. */
timevaladd(&ds->busy_time, &busy_time);
- } else if (ds->busy_count < 0)
+ }
+ /*
+ * XXX KDM this is temporarily disabled to avoid causing
+ * unsophisticated users to panic. There are unfixed bugs in the
+ * wd driver that will set off this error message.
+ */
+#if 0
+ else if (ds->busy_count < 0)
printf("devstat_end_transaction: HELP!! busy_count "
"for %s%d is < 0 (%d)!\n", ds->device_name,
ds->unit_number, ds->busy_count);
+#endif
}
/*
OpenPOWER on IntegriCloud