diff options
author | 2025-02-16 22:42:21 +0800 | |
---|---|---|
committer | 2025-02-17 11:48:32 +0100 | |
commit | a8b8a126c8573b392432b0d1b23314bda59acbfc (patch) | |
tree | 8804cd804458bebbc67f58a984d327d86e44d94a | |
parent | dm vdo slab-depot: read refcount blocks in large chunks at load time (diff) | |
download | wireguard-linux-a8b8a126c8573b392432b0d1b23314bda59acbfc.tar.xz wireguard-linux-a8b8a126c8573b392432b0d1b23314bda59acbfc.zip |
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>
-rw-r--r-- | drivers/md/dm-stripe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index 3786ac67cefe..a1b7535c508a 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c @@ -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, |