Hi.
Once Linux kernel has problem for Samsung SSD 850 Pro which TRIM bug.
Does OpenWrt has the fix for now?
If I use Samsung SSD 850 Pro as external storage device (ext4 format mount),
none of issue I can expect?
Please advice me.
Thank you in advance.
jow
November 8, 2018, 8:38am
2
OpenWrt does not carry SSD specific patches, so it only has this fix if it is present in the upstream 4.9 and 4.14 kernels.
First off, your SSD trim bug should be fixed by a new firmware, but not the Linux kernel.
And unfortunately even the latest 4.19 kernel source still blacklists Samsung 850 trim
{ "Crucial_CT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "Micron_M5[15]0_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "Crucial_CT*M550*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "Crucial_CT*MX100*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "Samsung SSD 840*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "Samsung SSD 850*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
{ "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
ATA_HORKAGE_ZERO_AFTER_TRIM, },
/* devices that don't properly handle TRIM commands */
{ "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, },
/*
* As defined, the DRAT (Deterministic Read After Trim) and RZAT
* (Return Zero After Trim) flags in the ATA Command Set are
You can try removing it from the blacklist anyway though, at the risk of data loss.
1 Like
Thanks for the reply.
Then...the Samsung SSD 860 EVO should not be the problem, right?