aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2007-02-20 23:31:22 +0900
committerJeff Garzik <[email protected]>2007-02-21 04:58:19 -0500
commitc3c70c443c2ef1fce31f201a93780c884b903993 (patch)
treecfb23ec2831ad4f10c87f6362573db9eb6a33cbd /tools/perf/scripts/python
parentfcf1bf1584647f9fd864c193fee81840c4c5ce41 (diff)
libata: fix ata_scsi_change_queue_depth()
Fix ata_scsi_change_queue_depth() such that... * NCQ on/off is exactly determined using the same logic as the issue path. * queue depth is adjusted to 1 if NCQ is not enabled. * -EINVAL is returned if requested action is ignored due to limitations. This fixes the bug which allows queue depth to be increased on blacklisted NCQ hosts/devices. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions