]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm-ebs: don't set the flag DM_TARGET_PASSES_INTEGRITY
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 7 Jan 2025 16:47:01 +0000 (17:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:51 +0000 (17:15 +0100)
commite52a55ec2d1f7816a466a0b3e7bbdc7e473cb815
treeb17f67a13693fcbac95cfca4e9011721a21f21cd
parent802666a40c71a23542c43a3f87e3a2d0f4e8fe45
dm-ebs: don't set the flag DM_TARGET_PASSES_INTEGRITY

commit 47f33c27fc9565fb0bc7dfb76be08d445cd3d236 upstream.

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")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-ebs-target.c