Author: hiren
Date: Fri Jun 20 21:18:35 2014
New Revision: 267690
URL: http://svnweb.freebsd.org/changeset/base/267690

Log:
  Hide a harmless "QUEUE FULL EVENT" message behind bootverbose.
  
  Requested by: A bunch of users on mailing-lists
  Suggested by: scottl
  MFC after:    1 week
  Sponsored by: Yahoo! inc.

Modified:
  head/sys/dev/mpt/mpt_cam.c

Modified: head/sys/dev/mpt/mpt_cam.c
==============================================================================
--- head/sys/dev/mpt/mpt_cam.c  Fri Jun 20 20:28:46 2014        (r267689)
+++ head/sys/dev/mpt/mpt_cam.c  Fri Jun 20 21:18:35 2014        (r267690)
@@ -2449,8 +2449,11 @@ mpt_cam_event(struct mpt_softc *mpt, req
 
                pqf = (PTR_EVENT_DATA_QUEUE_FULL)msg->Data;
                pqf->CurrentDepth = le16toh(pqf->CurrentDepth);
-               mpt_prt(mpt, "QUEUE FULL EVENT: Bus 0x%02x Target 0x%02x Depth "
-                   "%d\n", pqf->Bus, pqf->TargetID, pqf->CurrentDepth);
+               if (bootverbose) {
+                   mpt_prt(mpt, "QUEUE FULL EVENT: Bus 0x%02x Target 0x%02x "
+                       "Depth %d\n",
+                       pqf->Bus, pqf->TargetID, pqf->CurrentDepth);
+               }
                if (mpt->phydisk_sim && mpt_is_raid_member(mpt,
                    pqf->TargetID) != 0) {
                        sim = mpt->phydisk_sim;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to