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

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Thu, 04 Feb 2010 10:46:57 +0200
Marcel Moolenaar wrote:
> On Feb 3, 2010, at 2:24 PM, Alexander Motin wrote:
> 
>> Do you receive message like "tagged openings now %d" in verbose log? It
>> should be there if queue size was adjusted.
> 
> No, that's the problem and it has always been the problem: the
> queue never gets adjusted, because when the "adjust openings"
> request is sent up with, say, 120 openings, there are already
> 121 or more requests queued. This prevents the queue from
> being adjusted (XPT fails, doesn't propagate an error down but
> expects any interested drivers to try again in case of a
> failure)...

I don't think you are right here. That message should appear always,
independently from result of resize. The only reason why it may not
show, is if resize wasn't tried at all due to false result of
INQ_DATA_TQ_ENABLED(&dev->inq_data). In other cases number of openings
should be adjusted, independently from number of running requests (queue
shrinking may be delayed).

-- 
Alexander Motin
Received on Thu Feb 04 2010 - 07:47:03 UTC

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