Re: very slow file deletion on an SSD

David Brown
2012-05-26T16:00:18Z

On 25/05/12 18:59, Christoph Hellwig wrote:
> On Fri, May 25, 2012 at 11:57:19AM -0500, Ben Myers wrote:
>> There are a couple recent fixes related to discard that are probably
>> appropriate for 3.2-stable.
>
> Discard is not enabled by default.
>

You would not want to enable discard if slow deletes are an issue -
benchmarks (on ext4) show that enabling trim makes metadata operations,
and delete in particular, much slower.