From: Jeff Cook <jeff@deserettechnology.com>
To: Milan Broz <mbroz@redhat.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm-crypt TRIM support
Date: Tue, 12 Jul 2011 11:47:14 -0600 [thread overview]
Message-ID: <4E1C88A2.4020500@deserettechnology.com> (raw)
In-Reply-To: <4E0A4545.6070401@redhat.com>
Thank you for the update. I would really like TRIM support on my
dm-crypt SSD and I'm not worried about the revelations that may be
discernible regarding trimmed space, etc.
Can you help me understand how I can pass the TRIM command through the
dm-crypt layer? I've looked through the device-mapper code in the kernel
and based on the implementation of TRIM in other dm clients it looks
like it should be relatively straightforward to get the message sent in
dm-crypt. Can you give me a couple of pointers or a brief outline of
what functions would need modification? I am not concerned with making
this optional at the moment since the patch would not (yet) be aimed for
mainline inclusion.
Please let me know if I am mistaken. I appreciate the quick response and
the efforts you've put toward this so far. Thanks again. :)
From
Jeff
Jeff Cook
(801) 231-3157
jeff@deserettechnology.com
On 06/28/2011 03:19 PM, Milan Broz wrote:
> On 06/28/2011 10:52 PM, Jeff Cook wrote:
>> After mounting a LUKS partition on my SSD, I get a message that the
>> discard mount option is ignored. In my research, I have seen many
>> conflicting reports on whether this functionality was available or not.
>> The last reliable mail I can find was from January and indicated that an
>> expected release of configurable discard support over dm-crypt in
>> 2.6.39. Can anyone let me know if this target was reached, and if not,
>> where development on TRIM support for dm-crypt volumes currently stands?
>
> right, dm-crypt doesn't support TRIM yet.
>
> I would like to add optional support for it but no code is submitted yet.
> No ETA currently.
>
> Milan
next prev parent reply other threads:[~2011-07-12 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 20:52 dm-crypt TRIM support Jeff Cook
2011-06-28 21:19 ` Milan Broz
2011-07-12 17:47 ` Jeff Cook [this message]
2011-07-13 11:30 ` Christian Hesse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E1C88A2.4020500@deserettechnology.com \
--to=jeff@deserettechnology.com \
--cc=dm-devel@redhat.com \
--cc=mbroz@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.