On 02/03/2017 06:12 PM, Chris Murphy wrote:
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.
I think this is unrelated to this change request. The current kernel default (in dm-crypt target!) is that it silently throws away/blocks any discard that land on dm-crypt device. As far as I know this particular kernel default is not going to change in any foreseeable future for other reasons (It could destroy hidden volumes configured in legacy TrueCrypt). With this change we just *allow* the discard to pass through dm-crypt target. Whether other components in Fedora generate the discard request itself is imo of the scope for this change request.
(lvm.conf issue_discards = 1 explained Zdenek in other post) O. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx