• Jens Axboe's avatar
    libata: add whitelist for devices with known good pata-sata bridges · 9ce8e307
    Jens Axboe authored
    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: default avatarJeff Garzik <jgarzik@redhat.com>
    9ce8e307
libata-core.c 164 KB