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

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Wed, 03 Feb 2010 20:00:38 -0800
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
> _at__at_ -2558,6 +2558,7 _at__at_ 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
Received on Thu Feb 04 2010 - 03:00:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC