Message ID | 20181202104708.19957-1-juha-matti.tilli@iki.fi |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | libata: whitelist all SAMSUNG MZ7KM* solid-state disks | expand |
Juha-Matti, > These devices support read zero after trim (RZAT), as they advertise > to the OS. However, the OS doesn't believe the SSDs unless they are > explicitly whitelisted. We've actually tested this drive and it appears to be OK. Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
On 12/2/18 3:47 AM, Juha-Matti Tilli wrote: > These devices support read zero after trim (RZAT), as they advertise to > the OS. However, the OS doesn't believe the SSDs unless they are > explicitly whitelisted. Applied, thanks.
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index a7f5202a4815..b8c3f9e6af89 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4602,6 +4602,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "SSD*INTEL*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Samsung*SSD*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "SAMSUNG*SSD*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }, + { "SAMSUNG*MZ7KM*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "ST[1248][0248]0[FH]*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }, /*
These devices support read zero after trim (RZAT), as they advertise to the OS. However, the OS doesn't believe the SSDs unless they are explicitly whitelisted. Signed-off-by: Juha-Matti Tilli <juha-matti.tilli@iki.fi> --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+)