I've installed Ubuntu 16.04 LTS. During the installation, I've checked 'encrypted home' but home folder is in the same partition as the root (i.e in '/'). I know that the usage of TRIM on LUKS devices is different but I could not find anything about how to use it in my case. I also know that the installer uses ecryptfs for home folder encryption. The only thing I could found is this link TRIM and encrypted home folders, but it does not provide an answer. So the question is: How can I use TRIM on my encrypted home folder (not partition)? Several info you might need:
SSD: Corsair Force LS SSD
~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 215.2G 0 part /
└─sda3 8:3 0 7.9G 0 part
└─cryptswap1 252:0 0 7.9G 0 crypt [SWAP]
~$ uname -r
4.4.0-21-generic
/etc/cron.weekly/fstrim
)