Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 11:08:58 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264406 - head/sys/cam
Message-ID:  <201404131108.s3DB8woe093379@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404131108.s3DB8woe093379>