Skip to content

Commit 6f95647

Browse files
committed
dm: set DM_TARGET_PASSES_CRYPTO feature for dm-thin
JIRA: https://issues.redhat.com/browse/RHEL-119009 Upstream Status: kernel/git/torvalds/linux.git commit 55a0fbd Author: LongPing Wei <weilongping@oppo.com> Date: Wed Jul 30 14:17:19 2025 +0800 dm: set DM_TARGET_PASSES_CRYPTO feature for dm-thin dm-thin obviously can pass through inline crypto support. Signed-off-by: LongPing Wei <weilongping@oppo.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
1 parent 87a5c65 commit 6f95647

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/md/dm-thin.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4111,8 +4111,8 @@ static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits)
41114111
static struct target_type pool_target = {
41124112
.name = "thin-pool",
41134113
.features = DM_TARGET_SINGLETON | DM_TARGET_ALWAYS_WRITEABLE |
4114-
DM_TARGET_IMMUTABLE,
4115-
.version = {1, 23, 0},
4114+
DM_TARGET_IMMUTABLE | DM_TARGET_PASSES_CRYPTO,
4115+
.version = {1, 24, 0},
41164116
.module = THIS_MODULE,
41174117
.ctr = pool_ctr,
41184118
.dtr = pool_dtr,
@@ -4497,7 +4497,8 @@ static void thin_io_hints(struct dm_target *ti, struct queue_limits *limits)
44974497

44984498
static struct target_type thin_target = {
44994499
.name = "thin",
4500-
.version = {1, 23, 0},
4500+
.features = DM_TARGET_PASSES_CRYPTO,
4501+
.version = {1, 24, 0},
45014502
.module = THIS_MODULE,
45024503
.ctr = thin_ctr,
45034504
.dtr = thin_dtr,

0 commit comments

Comments
 (0)