git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf1bf1
)
libata: fix ata_scsi_change_queue_depth()
author
Tejun Heo
<htejun@gmail.com>
Tue, 20 Feb 2007 14:31:22 +0000
(23:31 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 21 Feb 2007 09:58:19 +0000
(
04:58
-0500)
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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c
patch
|
blob
|
history
diff --cc
drivers/ata/libata-scsi.c
Simple merge