Module Name: src Committed By: joerg Date: Fri Oct 23 20:41:12 UTC 2009
Modified Files: src/sys/dev/dm: dm_table.c Log Message: Reduce a noise from a debug printf to debug level To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/dm/dm_table.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/dm/dm_table.c diff -u src/sys/dev/dm/dm_table.c:1.3 src/sys/dev/dm/dm_table.c:1.4 --- src/sys/dev/dm/dm_table.c:1.3 Sat Jun 27 16:10:25 2009 +++ src/sys/dev/dm/dm_table.c Fri Oct 23 20:41:11 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: dm_table.c,v 1.3 2009/06/27 16:10:25 jakllsch Exp $ */ +/* $NetBSD: dm_table.c,v 1.4 2009/10/23 20:41:11 joerg Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -149,8 +149,8 @@ mutex_enter(&head->table_mtx); - printf("dm_Table_destroy called with %d--%d\n", table_id, head->io_cnt); - + aprint_debug("dm_Table_destroy called with %d--%d\n", table_id, head->io_cnt); + while (head->io_cnt != 0) cv_wait(&head->table_cv, &head->table_mtx);