libata: blacklist NCQ on OCZ CORE 2 SSD (resend)
authorLubomir Bulej <lubomir.bulej@dsrg.mff.cuni.cz>
Mon, 22 Dec 2008 10:35:22 +0000 (11:35 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 29 Dec 2008 12:39:25 +0000 (07:39 -0500)
The patchlet below blacklists NCQ on OCZ CORE v2 SSD drive(s). Even
though the drive advertises NCQ support with queue depth 1, it responds
with all-zeroes FIS to NCQ commands which triggers ata error handling
several times before the kernel decides to disable NCQ on the drive.

Signed-off-by: Lubomir Bulej <lubomir.bulej@dsrg.mff.cuni.cz>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c

index c2f18ef74d3705017d4b4b9ebb89d27ce8fee6a9..fecca4223f8ee92adfe4e4824ef6114def00baa2 100644 (file)
@@ -4108,6 +4108,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
        { "Maxtor 7V300F0",     "VA111630",     ATA_HORKAGE_NONCQ },
        { "ST380817AS",         "3.42",         ATA_HORKAGE_NONCQ },
        { "ST3160023AS",        "3.42",         ATA_HORKAGE_NONCQ },
+       { "OCZ CORE_SSD",       "02.10104",     ATA_HORKAGE_NONCQ },
 
        /* Seagate NCQ + FLUSH CACHE firmware bug */
        { "ST31500341AS",       "SD15",         ATA_HORKAGE_NONCQ |