]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_sil24: configure max read request size to 4k
authorTejun Heo <tj@kernel.org>
Sat, 25 Oct 2008 05:26:54 +0000 (14:26 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 28 Oct 2008 03:55:27 +0000 (23:55 -0400)
commite8b3b5e9f54512bfdb7c154da07ec0408cbd6c56
treef2782dbae6b0b7c184ba37f6323f4092af5e8224
parent3cd8ddbd86e4ea6f2f6582da217651f048d76130
sata_sil24: configure max read request size to 4k

Due to request posting limitations, bandwidth of sil3132 is limited to
around 120MB/s with the minimum pci-e payload size (128bytes) which is
used by most consumer systems.  However, write throughput can be
slightly (~3%) increased by increasing the max read requeset size.
Configure it to 4k which is the maximum supported.  This optimization
is also done by SIMG's windows driver.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_sil24.c