Note that you don't need to mount your fs with discard=on, to use fstrim.
if you use discard=on, trim will be done at each delete in your filesystem, and this can be quite slow.
It's better to simply add a cron, daily for example, which launch fstrim. (without any discard=on)