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

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

 



On Fri, Feb 3, 2017 at 9:32 AM, Tomasz Torcz <tomek@xxxxxxxxxxxxxx> wrote:
> On Fri, Feb 03, 2017 at 09:25:07AM -0700, Nathanael D. Noblet wrote:
>> On Fri, 2017-02-03 at 09:40 -0500, Josh Boyer wrote:
>> > On Mon, Jan 16, 2017 at 10:32 AM, Jan Kurik <jkurik@xxxxxxxxxx>
>> > wrote:
>> > > = System Wide Change: Enable TRIM pass down to encrypted disks =
>> > > https://fedoraproject.org/wiki/Changes/EnableTrimOnDmCrypt
>> > >
>> > > Change owner(s):
>> > > * Vratislav Podzimek <vpodzime AT redhat DOT com>
>> > > * Ondrej Kozina <okozina AT redhat DOT com>
>> > >
>> > >
>> > > Override kernel default for dm-crypt mappings of LUKS1 encrypted
>> > > volumes via flag put in /etc/crypttab file. This change should
>> > > affect
>> > > only newly created encrypted storage based on LUKS1 format during
>> > > installation.
>>
>> So I've got multiple systems with encrypted partitions on SSD disks.
>> Are there ways of enabling this for pre-existing partitions?
>
>   I believe putting “discard” at the the of each line in /etc/crypttab
> will do the trick.

That just causes device mapper to pass trim issued to the dmcrypt
device to the underlying block device; it doesn't actually issue trim.
Something else has to do that, like fstrim.service or discard mount
option for the file system; neither of which I'd recommend by default.
I'm not really sure what this feature is going to do on its own.


-- 
Chris Murphy
_______________________________________________
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