]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libata: add whitelist for devices with known good pata-sata bridges
authorJens Axboe <jens.axboe@oracle.com>
Wed, 27 Aug 2008 13:23:18 +0000 (15:23 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 31 Oct 2008 05:45:06 +0000 (01:45 -0400)
commit9ce8e3073d9cfd6f859c22a25441db41b85cbf6e
tree81ddeb3d7203677b541b132b4ed8a909137d7ccf
parentb9d5b89b487517cbd4cb4702da829e07ef9e4432
libata: add whitelist for devices with known good pata-sata bridges

libata currently imposes a UDMA5 max transfer rate and 200 sector max
transfer size for SATA devices that sit behind a pata-sata bridge. Lots
of devices have known good bridges that don't need this limit applied.
The MTRON SSD disks are such devices. Transfer rates are increased by
20-30% with the restriction removed.

So add a "blacklist" entry for the MTRON devices, with a flag indicating
that the bridge is known good.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
include/linux/libata.h