Re: F26 System Wide Change: Enable TRIM pass down to encrypted disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once upon a time, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> said:
> 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.

LVM passes discards through automatically, assuming the block device
under the PV supports them.  The issue_discards option tells LVM to
issue discards itself when PV space is released (e.g. an LV is
removed/reduced).

I'm not sure why issue_discards=1 is not the default, but that's a
separate issue from this change.
-- 
Chris Adams <linux@xxxxxxxxxxx>
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux