RE: [PATCH 2/2] mtip32xx: mtip32xx: Disable TRIM support

From: Sam Bradshaw (sbradshaw)
Date: Mon Apr 15 2013 - 12:42:25 EST



> On Fri, Apr 12 2013, Asai Thambi S P wrote:
> >
> > Temporarily disabling TRIM support until TRIM related issues
> > are addressed in the firmware.
>
> How serious is this? We do have released kernels out there with the
> driver, you might want to consider a stable backport too.

It's a performance issue, not data integrity. Since the ATA trim command
is non-queueable, IO traffic must halt while the trim is outstanding. A
filesystem that is actively trimming sectors is effectively duty cycling
the IO path on this part. We are working to shrink the trim command
latency while also investigating whether some sort of offline trim is more
appropriate.

Given the incremental endurance gain for trim on 34nm SLC vs the severe
throughput degradation under some workloads, it seemed prudent to disable
the feature.

If you think that warrants a stable backport, just let me or Asai know.

-Sam


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/