Package: lvm2
Version: 2.03.02-1
Severity: normal

Hello,

in order to have TRIM (discard) support enabled per default for SSD
devices, the `issue_discards` setting in `/etc/lvm/lvm.conf` should
be active (`1`) per default.

To give some context: since recently, the debian-installer adds the
`discard` option per default for luks-encrypted dm-crypt devices[1].
We'll adopt documentation in the cryptsetup package accordingly.

With this change, the `issue_discards` option in lvm2 is the last
missing piece to enable TRIM for SSD/flash devices per default in
Debian.

Since enabling discard doesn't have any impact for non-SSD devices, it
should be safe to change the default. Or do I oversee any potential
downsides?

I think it would be great to have Debian Buster released with TRIM
(discard) support enabled per default.

Cheers,
 jonas

[1] https://salsa.debian.org/installer-team/partman-crypto/merge_requests/2

Reply via email to