CAM verbosity (xpt_release_devq(0): requested 1 > present 0)

Marcel Moolenaar xcllnt at mac.com
Thu Feb 4 04:00:39 UTC 2010


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 at mac.com





More information about the freebsd-current mailing list