Does BalenaOS support TRIM for SSDs and what happens when you add full disk encryption

Hi all. I’ve run into a situation on an x86 device we’ve been running. It has full disk encryption and I wanted to run TRIM on it because the performance of the disk seems off. However, if we try to trim it we get an errorfstrim: /mnt/data: the discard operation is not supported.

Is there any way to enable this in Balena?