On 03/12/2012 01:04 AM, Miguel Figueiredo wrote:
Add the mount option 'discard' for ext4 filesystems so, during partitioning, TRIM can be activated for SSDs in the installed system.
I assume the patch only adds discard as mount option to /etc/fstab?In addition to that, it would also be nice if the "-E discard" option is passed to mkfs.ext4, so that it TRIMs the entire disk partition prior to creating the file system structures.
-- Yours sincerely, Floris Bos