aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-path-selector.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2011-08-02 12:32:08 +0100
committerAlasdair G Kergon <agk@redhat.com>2011-08-02 12:32:08 +0100
commit772ae5f54d69c38a5e3c4352c5fdbdaff141af21 (patch)
tree727b6dc7596b8250d644214695f09e3d6c7e43d1 /drivers/md/dm-path-selector.c
parent327372797c88b24953f454cd51a3734c02697bdd (diff)
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/md/dm-path-selector.c')
0 files changed, 0 insertions, 0 deletions