Trying to run fstrim manually ( sudo fstrim / ) or use discard mount option on your SSD in Ubuntu (or other linux flavors) and are getting this error: fstrim: /: FITRIM ioctl failed: Operation not supported Then have a look at this askubuntu.com article :)
Links, commands and settings I someday probably won't find again