Further I wonder if /etc/lvm/lvm.conf needs
issue_discards = 1

Both / and /home are actually LV's which are made from the LUKS PV. So
trim pass down from dmcrypt to block device isn't enough to do
anything.

ext4 (discard mount option or fstrim.service) -> LVM (issue_discards=1
in lvm.conf) -> dmcrypt (discard set in crypttab or
rd.luks.options=discard as boot param). If any of those is not true,
then I'm pretty sure discard isn't going to go to the real device. And
doing this by default for everyone is a bad idea because there are so
many non-queued trim SSDs floating around still.

--
Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to