SATA TRIM support in Opensolaris

The Opensolaris SATA subsystem got TRIM support with this putback to the codebase. The TRIM command is really interesting for SSDs, as the operating system can tell the SSD which blocks aren’t used by the filesystem any longer with this comment. This helps the internal garbage collection of the drives to work more efficiently at erasing blocks ahead of their usage. As erasing is really an costly operating with Flash-SSD, erasing the blocks before you need them speed up things a lot.