]> www.infradead.org Git - users/hch/misc.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)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 8 Jan 2025 14:28:47 +0000 (15:28 +0100)
commit47f33c27fc9565fb0bc7dfb76be08d445cd3d236
tree0408c56dc8067efcb6e747191b0ccc382a002f60
parent548c6edbed92031baa4aa32cae55628c810c3ebb
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")
drivers/md/dm-ebs-target.c