aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorMilan Broz <[email protected]>2011-08-02 11:32:08 +0000
committerAlasdair G Kergon <[email protected]>2011-08-02 11:32:08 +0000
commit772ae5f54d69c38a5e3c4352c5fdbdaff141af21 (patch)
tree727b6dc7596b8250d644214695f09e3d6c7e43d1 /lib/fault-inject.c
parentdm raid: add md raid1 support (diff)
downloadkernel-772ae5f54d69c38a5e3c4352c5fdbdaff141af21.tar.gz
kernel-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 <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions