Date: Wed, 03 Feb 2010 20:00:38 -0800 From: Marcel Moolenaar <xcllnt@mac.com> To: Alexander Motin <mav@FreeBSD.org> Cc: "current@freebsd.org mailing list" <current@freebsd.org> Subject: Re: CAM verbosity (xpt_release_devq(0): requested 1 > present 0) Message-ID: <12043867-D294-4201-82CC-A31A7D06C83D@mac.com> In-Reply-To: <4B69F782.5050108@FreeBSD.org> References: <A454E3C4-2E3D-4E8B-B692-A319240DB43C@mac.com> <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> <D98128C4-BBBA-471A-915D-08050F876AB0@mac.com> <4B69F782.5050108@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12043867-D294-4201-82CC-A31A7D06C83D>