Re: disable TCQ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Tokarev wrote:
/sys/block/sdX/device/queue_depth file is read-write with
libsata, but is read-only with SCSI controllers  (at least
with the ones we have -- mostly aic7xxx or mptsas).

Googling for "disable tcq" gives results about {dis,en}abling
TCQ at boot time, and also mentions ipr (which we don't have).

Is there an option to control TCQ at runtime?

You have found the correct sysfs file -- but read/write access to it requires the SCSI driver to implement the ->change_queue_depth() hook.

'grep -w' will show that not too many drivers have implemented this yet, mostly the newer ones. For older drivers, poke around and see if there is a driver-specific module option or somesuch.

	Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux