NCQ TRIM Gets Some Improvements With Linux 4.2

Written by Michael Larabel in Hardware on 26 June 2015 at 08:24 AM EDT. 11 Comments
The libata updates for the Linux 4.2 kernel may be of interest this time around for solid-state drive owners thanks to some NCQ TRIM improvements.

Tejun Heo noted in the pull request, "a number of libata core changes to better support NCQ TRIM."

With this pull request also comes new kernel parameters for enabling/disabling NCQ TRIM. The new kernel parameters are ncqtrim and noncqtrim. These options were added since newer SSD firmwares are adding support for queued trim, but in many cases the firmware TRIM support is untested and has been leading to errors or data corruption for users.

The libata changes in full for Linux 4.2 can be read about via this mailing list post.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week