>BTW a nice userspace program for the (ext4) FITRIM ioctl() command can be found here:
In what circumstances would you want to use this rather than just mounting with the 'discard' option?
I'm curious because I've just bought my first SSD and I'm wondering how best to maintain performance. At first I was thinking of reserving some unpartitioned space, but then it occurred to me that it would probably be better just to use an ext4 partition. That way I can use the space if I really need it at some point, but it can be 'reclaimed' by the SSD for its own purposes when there's nothing stored there. Is that not correct?