mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 21:26:14 +01:00
dm: Enable inline crypto passthrough for striped target
Added DM_TARGET_PASSES_CRYPTO feature to the striped target to utilize the hardware encryption of the underlying storage devices, preventing fallback to the crypto API. Signed-off-by: Ed Tsai <ed.tsai@mediatek.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
0ce46f4f75
commit
a8b8a126c8
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ static struct target_type stripe_target = {
|
|||
.name = "striped",
|
||||
.version = {1, 7, 0},
|
||||
.features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_NOWAIT |
|
||||
DM_TARGET_ATOMIC_WRITES,
|
||||
DM_TARGET_ATOMIC_WRITES | DM_TARGET_PASSES_CRYPTO,
|
||||
.module = THIS_MODULE,
|
||||
.ctr = stripe_ctr,
|
||||
.dtr = stripe_dtr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue