Enabling Automatic Block Discard Using the fstrim Systemd Timer
Configure the fstrim systemd timer unit to periodically trim unused
blocks on a file system.
Enabling the fstrim timer unit automate the discard process, ensuring
that the file system remains optimized over time. The default timer unit is
configured to run the fstrim operation weekly, but you can change
the frequency by creating a systemd override drop-in unit and setting the
OnCalendar directive.