Bug#790520: linux: Samsung NCQ TRIM problem
Package: linux
Version: 3.16.7-ckt11-1
It was recently discovered that newer firmware versions for Samsung 8* SSDs
claim to support SATA 3.2 features, but that NCQ TRIM has data corruption
bugs. For this reason that feature was added to the blacklist with this
commit
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drive
rs/ata/libata-core.c?id=9a9324d3969678d44b330e1230ad2c8ae67acf81
Here is the ubuntu launchpad bug which has a lot of details,
https://bugs.launchpad.net/ubuntu/+source/fstrim/+bug/1449005
status in debian
* the 4.0.5-1 in unstable has this fix
* the 3.16 in kernels in jessie and wheezy-backports do not and probably
need it.
* the wheezy and squeeze-backports 3.2 kernels don't have it, but I do not
know if they support NCQ TRIM
* I don't know the level of TRIM support in the squeeze 2.6 kernel.
discard/TRIM wasn't enabled by default on squeeze/wheezy, I don't know
about newer. But it's likely lots of users have enabled it. I think it
probably should be backported to older kernels, maybe implemented in
upstream as well.
ATA_HORKAGE_NO_NCQ_TRIM workaround was first implemented 2013-12-17 (~3.12)
with https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
drivers/ata/libata-core.c?id=f78dea064c5f7de07de4912a6e5136dbc443d614
--
Matt Taggart
taggart@debian.org
Reply to: