Re: [PATCH 2/5] libsas: fix ->change_queue_{depth|type} for sata devices

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

 



On 09/20/2011 06:10 PM, Dan Williams wrote:
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

Cc: Tejun Heo<tj@xxxxxxxxxx>
Cc: Xiangliang Yu<yuxiangl@xxxxxxxxxxx>
Cc: Jack Wang<jack_wang@xxxxxxxxx>
Cc: Mark Salyzyn<msalyzyn@xxxxxxxxxxxxxx>
Signed-off-by: Dan Williams<dan.j.williams@xxxxxxxxx>
---
  drivers/ata/libata-core.c           |    1 +
  drivers/ata/libata-scsi.c           |   44 +++++++++++++++++++++++------------
  drivers/scsi/libsas/sas_scsi_host.c |   11 ++++++++-
  include/linux/libata.h              |    2 ++
  4 files changed, 42 insertions(+), 16 deletions(-)

Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>



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


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux