lkml.org 
[lkml]   [2003]   [Jan]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 26 Jan 2003 17:21:20 +0100
FromJens Axboe <>
SubjectRe: ATA TCQ problems in 2.5.59
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [from the cache]
©2003-2008