[SCSI] libsas,libata: fix ->change_queue_{depth|type} for sata devices
authorDan Williams <dan.j.williams@intel.com>
Tue, 20 Sep 2011 22:10:33 +0000 (15:10 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 17:30:30 +0000 (12:30 -0500)
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>

No differences found