]> git.baikalelectronics.ru Git - kernel.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)
commitb38eef674d679e1534ac84a72d5d361d4efe7a84
tree81ddeb3d7203677b541b132b4ed8a909137d7ccf
parent1821328efcb3d1b18b7362ce3577075c4d42fc97
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