Queued TRIM is corrupting Samsung SSDs in Ubuntu 14.04

Patrick

Administrator
Staff member
Dec 21, 2010
12,363
5,495
113
Indeed:
Broken SSDs:
  • SAMSUNG MZ7WD480HCGM-00003
  • SAMSUNG MZ7GE480HMHP-00003
  • SAMSUNG MZ7GE240HMGR-00003
  • Samsung SSD 840 PRO Series
    recently blacklisted for 8-series blacklist
  • Samsung SSD 850 PRO 512GB
    recently blacklisted as 850 Pro and later in 8-series blacklist
Slightly scary since that is the 853T and 843TN 480GB.
 
  • Like
Reactions: dawsonkm

EffrafaxOfWug

Radioactive Member
Feb 12, 2015
1,395
506
113
On further reading, it seems like the issue is that as of the new firmware, the drives are advertising that they do support queued trim whereas earlier versions simply stated they didn't support it. I don't think windows does queued trim, but linux sees the device as advertising it, tries it, and the drive promptly goes arse about face. Nice...! Really nasty bug particularly as Patrick says because it also affects enterprise drives which should have explicit (and tested!) linux support.

Incidentally - I don't have trim enabled on most of my linux machines as, from what I've read, garbage collection on most SSDs should be good enough that it's not needed in most IO workloads; I don't have high requirements at all so bowed to the rule of KISS.
 
  • Like
Reactions: coolrunnings82