Re: Tagged queueing

From: Skylar Thompson (skylar_at_os2.dhs.org)
Date: 01/09/04


Date: Thu, 8 Jan 2004 18:50:49 -0600

On Tue, 06 Jan 2004 20:48:39 -0600, Frederick Bruckman <fredb@immanent.net> wrote:
> In article <slrnbvju10.295k.skylar@amayatra.os2.dhs.org>,
> Skylar Thompson <skylar@os2.dhs.org> writes:
>> On Mon, 05 Jan 2004 14:22:50 -0600, Frederick Bruckman <fredb@immanent.net> wrote:
>>>
>>> It depends on the driver. ahc(4), for example, permits "options AHC_NO_TAGS".
>>> See the man page for your driver.
>>
>> I checked the asc man page, and didn't see anything for disabling TCQs.
>
> I suggest your best course of action is to file a bug report, with "send-pr".

OK. I think I've got this fixed in a kind of hackish sort of way. I
commented out this line in sys/scsiio.h (line 107 in 1.6.1):

#define SC_ACCEL_TAGS 0x04

and this disabled all tagged queueing. I've been looking at doing this in
dev/scsipi/scsiconf.c like this:

{{T_DIRECT, T_FIXED,
        "SEAGATE ", "SX910800N ", ""}, PQUIRK_NOTAG}

but this doesn't work. This latter way would have the advantage that it
would allow drives that do support tagged queueing to use tagged queueing,
while preventing this drive from using it. If I can nail this down, I'd be
able to submit a patch in addition to the report, which will make me feel
good. :)

-- 
-- Skylar Thompson (skylar@cs.earlham.edu)
-- http://cs.earlham.edu/~skylar/


Relevant Pages

  • Re: sbp, camcontrol, and Tagged Queuing
    ... On Thursday 17 March 2005 10:08 pm, Drew Tomlinson wrote: ... > drives by trying this? ... Tagged queueing queues up multiple instructions for the drive simultaneously. ... > Some HDDs don't work well with tagged queuing. ...
    (freebsd-questions)
  • Re: sbp, camcontrol, and Tagged Queuing
    ... On 3/17/2005 8:23 PM Bob Johnson wrote: ... >>drives by trying this? ... >Tagged queueing queues up multiple instructions for the drive simultaneously. ... >I set the queue size to one. ...
    (freebsd-questions)
  • Re: sbp, camcontrol, and Tagged Queuing
    ... On 3/17/2005 8:23 PM Bob Johnson wrote: ... >>drives by trying this? ... >Tagged queueing queues up multiple instructions for the drive simultaneously. ... blacklamb# camcontrol tags da2 -v ...
    (freebsd-questions)
  • Re: swapping external hard drives
    ... >> beautiful backup plans. ... > know if scanning just a single LUN will allow the whole device to ... Also note the warning about tagged queueing on that page - hopefully you ... lucked out and your drives are OK with this; ...
    (freebsd-questions)