diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-09-20 18:10:33 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-02 13:30:30 -0400 |
commit | f6e67035a9edd79b8b202c159d5bec560bb9c358 (patch) | |
tree | ba884b5a2de7cb60bd1e6f67813b47fdb8ff509a /drivers/ata/libata-core.c | |
parent | 2fc62e2ac350b8f574e0a09170b350a8f2fa4a02 (diff) |
[SCSI] libsas,libata: fix ->change_queue_{depth|type} for sata devices
Pass queue_depth change requests to libata, and prevent queue_type
changes for ATA devices.
Otherwise:
1/ we do not honor the libata specific restrictions on the queue depth
2/ libsas drivers that do not set sdev->tagged_supported are unable to
change the queue_depth of ata devices via sysfs
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 4a3a5ae7bb45..d26c7f4c887b 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6713,6 +6713,7 @@ EXPORT_SYMBOL_GPL(ata_scsi_queuecmd); | |||
6713 | EXPORT_SYMBOL_GPL(ata_scsi_slave_config); | 6713 | EXPORT_SYMBOL_GPL(ata_scsi_slave_config); |
6714 | EXPORT_SYMBOL_GPL(ata_scsi_slave_destroy); | 6714 | EXPORT_SYMBOL_GPL(ata_scsi_slave_destroy); |
6715 | EXPORT_SYMBOL_GPL(ata_scsi_change_queue_depth); | 6715 | EXPORT_SYMBOL_GPL(ata_scsi_change_queue_depth); |
6716 | EXPORT_SYMBOL_GPL(__ata_change_queue_depth); | ||
6716 | EXPORT_SYMBOL_GPL(sata_scr_valid); | 6717 | EXPORT_SYMBOL_GPL(sata_scr_valid); |
6717 | EXPORT_SYMBOL_GPL(sata_scr_read); | 6718 | EXPORT_SYMBOL_GPL(sata_scr_read); |
6718 | EXPORT_SYMBOL_GPL(sata_scr_write); | 6719 | EXPORT_SYMBOL_GPL(sata_scr_write); |