Skip to content

Commit 47f33c2

Browse files
author
Mikulas Patocka
committed
dm-ebs: don't set the flag DM_TARGET_PASSES_INTEGRITY
dm-ebs uses dm-bufio to process requests that are not aligned on logical sector size. dm-bufio doesn't support passing integrity data (and it is unclear how should it do it), so we shouldn't set the DM_TARGET_PASSES_INTEGRITY flag. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Fixes: d3c7b35 ("dm: add emulated block size target")
1 parent 548c6ed commit 47f33c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/dm-ebs-target.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ static int ebs_iterate_devices(struct dm_target *ti,
442442
static struct target_type ebs_target = {
443443
.name = "ebs",
444444
.version = {1, 0, 1},
445-
.features = DM_TARGET_PASSES_INTEGRITY,
445+
.features = 0,
446446
.module = THIS_MODULE,
447447
.ctr = ebs_ctr,
448448
.dtr = ebs_dtr,

0 commit comments

Comments
 (0)