Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 12:41:08 +0200
From:      Jan Bramkamp <crest@rlwinm.de>
To:        freebsd-fs@freebsd.org
Subject:   Re: TRIM support (same bug as linux?)
Message-ID:  <55F00CC4.7060600@rlwinm.de>
In-Reply-To: <CAD=tpedAx2XLtQe6Nn%2BHvXWZ0X=TekmkpTruxCndYqpBXPFaFA@mail.gmail.com>
References:  <CAD=tpedAx2XLtQe6Nn%2BHvXWZ0X=TekmkpTruxCndYqpBXPFaFA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/09/15 01:15, FF wrote:
> I'm asking a pretty vague question and I apologize in advance, not trying
> to troll.
>
> The question has to do with whether FreeBSD is using TRIM the same way as
> recent Linux kernels.
>
> https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/ seems
> to imply that there are instabilities that can occur. Trying to avoid
> duplicating effort if this has already been addressed or if its a complete
> dead alley because there isn't a commonality.

At first the leading theory was that Linux triggered a firmware bug in 
the SSDs or that a bug in the handling of queued TRIM operations is 
responsible. The real culprit was a bug in the code for linear mdraid 
volumes causing the wrong blocks to be unmapped with TRIM.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F00CC4.7060600>