Skip to content

Commit 243918b

Browse files
martinkpetersenhtejun
authored andcommitted
libata: Do not blacklist Micron M500DC
Queued TRIM got disabled on Micron M500DC drives thanks to the "Micron_M500*" pattern we had in place to accommodate the previous generation of this drive family. Tweak the blacklist entry slightly so we only disable queued TRIM for the non-DC variants of M500 drives. Signed-off-by: Martin K. Petersen <[email protected]> Cc: [email protected] Signed-off-by: Tejun Heo <[email protected]>
1 parent d6ecf15 commit 243918b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/libata-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4225,7 +4225,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
42254225
{ "PIONEER DVD-RW DVR-216D", NULL, ATA_HORKAGE_NOSETXFER },
42264226

42274227
/* devices that don't properly handle queued TRIM commands */
4228-
{ "Micron_M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
4228+
{ "Micron_M500_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
42294229
ATA_HORKAGE_ZERO_AFTER_TRIM, },
42304230
{ "Crucial_CT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
42314231
ATA_HORKAGE_ZERO_AFTER_TRIM, },

0 commit comments

Comments
 (0)