Date: Fri, 20 Jun 2014 21:18:35 +0000 (UTC) From: Hiren Panchasara <hiren@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267690 - head/sys/dev/mpt Message-ID: <201406202118.s5KLIZTx035294@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406202118.s5KLIZTx035294>