Please sign in to comment.
dm crypt: optionally support discard requests
Add optional parameter field to dmcrypt table and support "allow_discards" option. Discard requests bypass crypt queue processing. Bio is simple remapped to underlying device. Note that discard will be never enabled by default because of security consequences. It is up to the administrator to enable it for encrypted devices. (Note that userspace cryptsetup does not understand new optional parameters yet. Support for this will come later. Until then, you should use 'dmsetup' to enable and disable this.) Change-Id: I915777ae6022ae0f75804a40f1f32a1cf33a444a Signed-off-by: Milan Broz <firstname.lastname@example.org> Signed-off-by: Alasdair G Kergon <email@example.com>
- Loading branch information...
Showing with 65 additions and 5 deletions.