On Wed, Dec 18, 2019 at 5:32 AM Martin Kolman mkolman@redhat.com wrote:
This will also trim thin LVs on thin pools (if any), right ?
So not just hardware, it can even make "software" storage layouts faster & potentially even avoid pool exhaustion in some cases. :)
Just a reminder, the underlying unit, fstrim.service, uses 'fstrim --fstab' so only fstab file systems are affected. The user would need to change the unit file to use --all instead of --fstab to affect all mounted file systems. I'll include that info in the change wiki. I imagine the best practice is to copy the original unit file, edit it, and use it as a drop in unit file in /etc ?
Unfinished change, still in progress... https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer