Re: ATA TCQ problems in 2.5.59

From: Jens Axboe (axboe@suse.de)
Date: Sun Jan 26 2003 - 11:21:20 EST


On Sun, Jan 26 2003, Mark Hahn wrote:
> > I'm trying to turn on TCQ on 2.5.59, but it doesn't seem be able to set it to
> > anything but 0 and 1. This is with TCQ default 'off':
> >
> > # cat /proc/ide/hda/settings | grep using_tcq
> > using_tcq 0 0 32 rw
> > # echo using_tcq:32 > /proc/ide/hda/settings
> > # cat /proc/ide/hda/settings | grep using_tcq
> > using_tcq 1 0 32 rw
>
> but it's a flag, not a count. use CONFIG_BLK_DEV_IDE_TCQ_DEPTH
> if you want something other than the default depth of 1.

It's a flag, correct. The default depth is 32 though, not 1. And with
newer hdparms you can use -Q to set/query the tag depth of the drive. Be
careful with that though, it's not too well tested. IDE TCQ in 2.5 needs
a bit of work, I hope to do so soonish...

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:15 EST