[CentOS] SSD for Centos SWAP /tmp & /var/ partition

Fri May 27 09:29:59 UTC 2011
John Doe <jdmls at yahoo.com>

From: "aurfalien at gmail.com" <aurfalien at gmail.com>

> In Windows and OSX its easy to get TRIM working, does any know of TRIM  
> for linux?

You apparently need a 2.6.33+ kernel (I read somewhere RH backported what was needed to their 2.6.32) and an fs like ext4 or brtfs.
Read some people giving advice to setup the ctrl to AHCI instead of IDE, but apparently worked for us in IDE...
Test = https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking
Tested on Fedora (15) and it worked.
Tested on CentOS 5.6 with custom 2.6.35 kernel and, while it mounted with 
discard without complaining, it did not actualy trim in the tests...
Will retest with 6.0...