]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm error: mark as DM_TARGET_PASSES_INTEGRITY
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Aug 2025 04:58:21 +0000 (06:58 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Tue, 19 Aug 2025 09:12:50 +0000 (11:12 +0200)
commit499cbe0f2fb0641cf07a1a8ac9f7317674295fea
treeb21c175f281fbd7b4461ef7f0249190aa97515fa
parentc7c61bc417b0334c4feb2bac455c17bf36c5891b
dm error: mark as DM_TARGET_PASSES_INTEGRITY

Mark dm error as DM_TARGET_PASSES_INTEGRITY so that it can be stacked on
top of PI capable devices.  The claim is strictly speaking as lie as dm
error fails all I/O and doesn't pass anything on, but doing the same for
integrity I/O work just fine :)

This helps to make about two dozen xfstests test cases pass on PI capable
devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-target.c