From: Milan Broz <mbroz@redhat.com>
To: jeff@deserettechnology.com
Cc: device-mapper development <dm-devel@redhat.com>,
Mike Snitzer <snitzer@redhat.com>
Subject: Re: dm-crypt: add mapping table option to allowing discard requests
Date: Fri, 22 Jul 2011 12:58:31 +0200 [thread overview]
Message-ID: <4E2957D7.3080709@redhat.com> (raw)
In-Reply-To: <4E2945B8.10303@deserettechnology.com>
On 07/22/2011 11:41 AM, Jeff Cook wrote:
> First of all, I attempted to apply these patches to 3.0-rc6 and HEAD
> (slightly after 3.0-rc7) and they did not apply cleanly. I was able to
> get a correct application once, but then the compile failed, assumedly
> due to a mispatching. Now that 3.0 has been tagged, should I assume that
> the patches will apply cleanly to that tree? I tried both manual patch
> via /usr/bin/patch and git apply. I suppose I can just wait for 3.1-rc1
> if I must.
So better wait for rc1, patch is already in linux-next.
My original patch was not using new table parsing function so I have
no idea which patches need to be backported now.
> Secondly, I am not sure how I go about modifying the crypt table mapping
> to activate the discard pass-through option.
You can compile upstream cryptsetup, I already added flag to support discard.
But there is intentional library version bump because I removed old api symbols
and also I want to implement some features before new version is released,
so use with care - it is not stable code yet.
> I recognize that Milan's commit message indicates support is missing in
> cryptsetup -- does this mean that a patch must be written to cryptsetup
> before the new option can be activated or can this be accessed by the
> lower-level dmsetup tool?
You can use dmsetup for now, I sent description how to do that to dmcrypt
list. http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/5166
> I almost didn't buy a SSD due to the lack of TRIM support in
> dm-crypt. :)
TRIM is incredibly overrated:-)
Milan
next prev parent reply other threads:[~2011-07-22 10:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-14 11:56 [PATCH] dm-crypt: add mapping table option to allowing discard requests Milan Broz
2011-07-15 0:56 ` Jeff Cook
2011-07-15 1:07 ` Alasdair G Kergon
2011-07-15 1:13 ` Mike Snitzer
2011-07-22 9:41 ` Jeff Cook
2011-07-22 10:58 ` Milan Broz [this message]
2011-07-15 1:26 ` [PATCH] " Alasdair G Kergon
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=4E2957D7.3080709@redhat.com \
--to=mbroz@redhat.com \
--cc=dm-devel@redhat.com \
--cc=jeff@deserettechnology.com \
--cc=snitzer@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.