Files
linux/drivers/scsi
Darrick J. Wong bdab4e8778 [SCSI] libsas: support NCQ for SATA disks
This patch adds SATAII NCQ support to libsas.  Both the use_ncq and the
dma_xfer flags in ata_task must be set for NCQ to work correctly on the
Adaptec SAS controller.  The rest of the patch adds ATA_FLAG_NCQ to
sata_port_info and sets up ap->scsi_host so that ata_setup_ncq doesn't
crash.  Please note that this patch is against the aic94xx-sas git tree,
not scsi-misc.  Thanks also to James Bottomley for providing an earlier
version of this patch from which to work.

I've tested this patch on a x206m with a ST380819AS SATA2 disk plugged
into the Adaptec SAS controller.  The drive came up with a queue depth
of 31, and I successfully ran an I/O flood test to coerce libata into
sending multiple commands simultaneously.  A kernel probe recorded the
maximum tag number that had been seen before and after the flood test;
before the test it was 2 and after it was 30, as I expected.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-18 11:14:07 -05:00
..
2007-04-01 10:10:04 -05:00
2006-01-01 22:21:50 +01:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-06-19 19:53:35 -07:00
2007-05-27 15:05:10 -05:00
2007-05-06 09:33:11 -05:00
2007-05-31 17:30:04 -04:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2007-05-24 09:14:41 -05:00
2007-05-31 17:30:04 -04:00
2007-07-16 09:05:42 -07:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2007-05-24 09:13:25 -05:00
2007-01-27 09:28:58 -06:00
2007-04-17 18:15:04 -04:00
2007-02-09 09:14:07 -08:00
2007-01-03 16:57:38 -06:00
2007-05-28 09:08:32 -05:00
2007-07-14 19:12:15 -05:00
2006-03-23 07:38:09 -08:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00
2007-06-19 19:53:35 -07:00