From: Milan Broz <mbroz@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Jens Kasten <jens@kasten-edv.de>
Subject: Re: trim support (discard)
Date: Sun, 09 Jan 2011 14:28:16 +0100 [thread overview]
Message-ID: <4D29B7F0.4050001@redhat.com> (raw)
In-Reply-To: <1294515916.5136.6.camel@jaschtschik-pc>
On 01/08/2011 08:45 PM, Jens Kasten wrote:
>
> I use the kernel 2.6.37 with cryptsetup and lvm on a intel ssd.
Device-mapper targets supports discards in 2.6.37 with exception
of dm-crypt target (that's why you see that message).
Supporting discards in dm-crypt means that information
about unused blocks is leaked (SSD ususally returns zeroes instead
of expected random data for discarded blocks) and it it can be
security problem in some situations.
We will probably add discard support in dm-crypt later but as optional
parameter (admin must decide that leaking allocated block info
is not problem and must explicitly enable it).
Probably 2.6.39 material.
> Then i try the wiper.sh script and i get:
> wiper.sh: Linux SATA SSD TRIM utility, version 3.1, by Mark Lord.
> /dev/dm-1: unable to reliably determine the underlying physical device
> name, aborting
That seems like bug in that script btw, it should understand DM devices.
> Its there in near future the discard support on the LVM?
LVM/DM itself should fully support discards now.
Exception is stacking with dm-crypt devices.
Milan
next prev parent reply other threads:[~2011-01-09 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 19:45 trim support (discard) Jens Kasten
2011-01-09 13:28 ` Milan Broz [this message]
2011-01-10 1:50 ` Jens Kasten
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=4D29B7F0.4050001@redhat.com \
--to=mbroz@redhat.com \
--cc=dm-devel@redhat.com \
--cc=jens@kasten-edv.de \
/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.