dm-crypt: add mapping table option to allowing discard requests
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 <email@example.com>
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?
dm-devel mailing list