Re: Samsung SSD TRIM [Was: Heads up]

From: Tommi Pernila <tommi.pernila_at_iki.fi>
Date: Fri, 15 Apr 2016 16:14:53 +0300
Hi,

On Friday, 15 April 2016, Steven Hartland <killing_at_multiplay.co.uk> wrote:

> On 15/04/2016 09:11, Kurt Jaeger wrote:
>
>> Hi!
>>
>> avg wrote:
>>
>>> For what it's worth, I have been using the following SSDs since
>>> September of 2015 :
>>>
>>> ada2: <Samsung SSD 850 EVO 120GB EMT01B6Q> ACS-2 ATA SATA 3.x device
>>> ada3: <Samsung SSD 850 EVO 120GB EMT01B6Q> ACS-2 ATA SATA 3.x device
>>>
>> I have one in use with zfs and trim:
>>
>> ada1: <Samsung SSD 840 EVO 250GB EXT0BB6Q> ACS-2 ATA SATA 3.x device
>>
>> Works as my ports build hosts, and is fine as far as I can see.
>>
>> Prior to Warners commit there was no NCQ TRIM support in FreeBSD, so
> while it was working with standard non-NCQ TRIM (and I can corroborate that
> as we use the 840's and 850's all over with ZFS with TRIM enabled) its
> possible that it could cause issues when NCQ TRIM comes into play.
>
> From what I read when this issue first came to light, I believe the actual
> issue was a Linux kernel bug not a FW bug in Samsung drives that caused the
> corruption. This is the thread which details said issue:
> http://www.spinics.net/lists/raid/msg49440.html
>
>
Here is a link to the commit that fixed the Linux kernel bug.
https://git.
kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f3f5da624e0a891c34d8cd513c57f1d9b0c7dadc

Mounting a Samsung SSD with a linux kernel with trim enabled without this
commit can cause issues.

Br,

Tommi


>     Regards
>     Steve
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Fri Apr 15 2016 - 11:14:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC