svn commit: r264406 - head/sys/cam

Alexander Motin mav at FreeBSD.org
Sun Apr 13 11:08:58 UTC 2014


Author: mav
Date: Sun Apr 13 11:08:57 2014
New Revision: 264406
URL: http://svnweb.freebsd.org/changeset/base/264406

Log:
  Report more readable state "-" for idle CAM scan thread.

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Sun Apr 13 09:31:22 2014	(r264405)
+++ head/sys/cam/cam_xpt.c	Sun Apr 13 11:08:57 2014	(r264406)
@@ -768,7 +768,7 @@ xpt_scanner_thread(void *dummy)
 	for (;;) {
 		if (TAILQ_EMPTY(&xsoftc.ccb_scanq))
 			msleep(&xsoftc.ccb_scanq, &xsoftc.xpt_topo_lock, PRIBIO,
-			       "ccb_scanq", 0);
+			       "-", 0);
 		if ((ccb = (union ccb *)TAILQ_FIRST(&xsoftc.ccb_scanq)) != NULL) {
 			TAILQ_REMOVE(&xsoftc.ccb_scanq, &ccb->ccb_h, sim_links.tqe);
 			xpt_unlock_buses();


More information about the svn-src-all mailing list