From owner-cvs-src@FreeBSD.ORG Thu Sep 21 20:35:13 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 352FF16A40F; Thu, 21 Sep 2006 20:35:13 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF26243D4C; Thu, 21 Sep 2006 20:35:12 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8LKZCA2058736; Thu, 21 Sep 2006 20:35:12 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8LKZCfo058732; Thu, 21 Sep 2006 20:35:12 GMT (envelope-from mjacob) Message-Id: <200609212035.k8LKZCfo058732@repoman.freebsd.org> From: Matt Jacob Date: Thu, 21 Sep 2006 20:35:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 20:35:13 -0000 mjacob 2006-09-21 20:35:12 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_cam.c Log: Connect up a QUEUE FULL event with CAM and adjust openings. Unfortunately, the QUEUE FULL event only tells you Bus && Target. It doesn't tell you lun. In order for the XPT_REL_SIMQ action to work, we have to have a real lun. But which one? For now, just iterate over MPT_MAX_LUNS. Practically speaking, this is only going to be happening for lower quality SAS or SATA drives behind the SAS controller, which means only lun 0, so it's not so bad. Helpful Reminder Nagging from: John Baldwin, Fred Whiteside MFC after: 5 days Revision Changes Path 1.34 +32 -2 src/sys/dev/mpt/mpt_cam.c