Re: Samsung evo 840 fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/10/2015 12:00 PM, Christer Solskogen wrote:
This is the first I found.
http://linux.slashdot.org/story/15/07/30/1814200/samsung-finds-fixes-bug-in-linux-trim-code

That bug isn't specific to Samsung drives. It affected all SSDs used in raid0 and raid10 configurations.

and https://bugs.launchpad.net/ubuntu/+source/fstrim/+bug/1449005

That's a different bug, entirely. The bug above was a Linux bug, where this is a drive firmware bug. It's worked around in Linux by blacklisting NCQ TRIM for Samsung's drives.

The ATA_HORKAGE_NO_NCQ_TRIM flag was introduced in 3.13. I don't see it in CentOS 7's kernel, so it's almost certainly not in C6 either.

You're probably better off disabling NCQ or just testing to see if you need TRIM at all. Particularly if you leave some space unallocated on the drive (TRIM it if you were previously using it), many newer drives manage free blocks very well, and see little or no performance hit for systems that don't use TRIM.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux