[dm-devel] [PATCH] dm-crypt: add mapping table option to allowing discard requests
Jeff Cook
jeff at deserettechnology.com
Fri Jul 15 00:56:03 UTC 2011
On 07/14/2011 05:56 AM, Milan Broz wrote:
> Add optional parameter field to dmcrypt table and support
> "allow_discards" option.
>
> Discard requests bypass crypt queue processing, bio
> request is simple remapped to underlying device.
>
> Note that discard will be never enabled by default because
> of security consequences, it is up to administrator
> to enable it for encrypted devices.
>
> (Note that userspace cryptsetup will not understand new
> optional parameters yet, support for this will come later.)
>
> Signed-off-by: Milan Broz <mbroz at redhat.com>
> [snip]
Thanks very much for this patch Milan. I will try compiling it shortly
and see where things go -- are you expecting this to be submitted for
inclusion in mainline soon?
Thanks again.
From
Jeff
More information about the dm-devel
mailing list