diff options
author | Milan Broz <mbroz@redhat.com> | 2011-08-02 13:32:08 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-08-02 13:32:08 +0200 |
commit | 772ae5f54d69c38a5e3c4352c5fdbdaff141af21 (patch) | |
tree | 727b6dc7596b8250d644214695f09e3d6c7e43d1 /drivers/regulator/max8649.c | |
parent | dm raid: add md raid1 support (diff) | |
download | linux-772ae5f54d69c38a5e3c4352c5fdbdaff141af21.tar.xz linux-772ae5f54d69c38a5e3c4352c5fdbdaff141af21.zip |
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.)
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/regulator/max8649.c')
0 files changed, 0 insertions, 0 deletions