lsblk --discard should show non-zero columns DISC_GRAN and DISC-MAX[(Superuser.com: Is setting 'discard' on a partition exposed through LVM sufficient?)]hdparm -I /dev/sdx | grep "TRIM" will tell you if trim is supported on your SSD.[(Unix Stackexchange: When and where to use rw,nofail,noatime,discard,defaults?)]