diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-07 17:47:01 +0100 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-08 15:28:47 +0100 |
commit | 47f33c27fc9565fb0bc7dfb76be08d445cd3d236 (patch) | |
tree | 0408c56dc8067efcb6e747191b0ccc382a002f60 /drivers/md | |
parent | dm-verity FEC: Avoid copying RS parity bytes twice. (diff) | |
download | linux-47f33c27fc9565fb0bc7dfb76be08d445cd3d236.tar.xz linux-47f33c27fc9565fb0bc7dfb76be08d445cd3d236.zip |
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 <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Fixes: d3c7b35c20d6 ("dm: add emulated block size target")
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-ebs-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ebs-target.c b/drivers/md/dm-ebs-target.c index ec5db1478b2f..18ae45dcbfb2 100644 --- a/drivers/md/dm-ebs-target.c +++ b/drivers/md/dm-ebs-target.c @@ -442,7 +442,7 @@ static int ebs_iterate_devices(struct dm_target *ti, static struct target_type ebs_target = { .name = "ebs", .version = {1, 0, 1}, - .features = DM_TARGET_PASSES_INTEGRITY, + .features = 0, .module = THIS_MODULE, .ctr = ebs_ctr, .dtr = ebs_dtr, |