Now that Fedora 32 has fstrim.timer enabled by default... how about
discards for the things that fstrim doesn't get?  Two main things I know
of:

- swap: Do discard at swapon time by setting "discard=once" in
  /etc/fstab would be somewhat similar to the periodic fstrim call.  I
  don't know how much impact the "discard=pages" option might have (the
  man page says it is asynchronous, but it might make low-memory
  situations worse).

- logical volumes: Set "issue_discards = 1" in /etc/lvm/lvm.conf so that
  removed LVs get discarded.

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to