From owner-freebsd-current@FreeBSD.ORG Thu Feb 4 04:00:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27BA2106566C; Thu, 4 Feb 2010 04:00:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 0ECD18FC0C; Thu, 4 Feb 2010 04:00:38 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KXA00BMGTT2I660@asmtp024.mac.com>; Wed, 03 Feb 2010 20:00:38 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1002030248 From: Marcel Moolenaar In-reply-to: <4B69F782.5050108@FreeBSD.org> Date: Wed, 03 Feb 2010 20:00:38 -0800 Message-id: <12043867-D294-4201-82CC-A31A7D06C83D@mac.com> References: <4B68A18E.1030500@FreeBSD.org> <305C4541-4245-45C9-9FCC-9C6AF4E47DD6@mac.com> <4B68A812.40103@FreeBSD.org> <971A22CA-B14A-4CBC-8D6D-FEB3A4EA2425@mac.com> <4B68B7AC.8050908@FreeBSD.org> <4B69F782.5050108@FreeBSD.org> To: Alexander Motin X-Mailer: Apple Mail (2.1077) Cc: "current@freebsd.org mailing list" Subject: Re: CAM verbosity (xpt_release_devq(0): requested 1 > present 0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 04:00:39 -0000 On Feb 3, 2010, at 2:24 PM, Alexander Motin wrote: > > --- mpt_cam.c.prev 2009-11-01 13:16:39.000000000 +0200 > +++ mpt_cam.c 2010-02-04 00:16:31.000000000 +0200 > @@ -2558,6 +2558,7 @@ mpt_cam_event(struct mpt_softc *mpt, req > } > xpt_setup_ccb(&crs.ccb_h, tmppath, 5); > crs.ccb_h.func_code = XPT_REL_SIMQ; > + crs.ccb_h.flags = CAM_DEV_QFREEZE; > crs.release_flags = RELSIM_ADJUST_OPENINGS; > crs.openings = pqf->CurrentDepth - 1; > xpt_action((union ccb *)&crs); > Works like a charm. Thanks! -- Marcel Moolenaar xcllnt@mac.com