]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm: introduce the target flag mempool_needs_integrity
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2024 18:53:12 +0000 (20:53 +0200)
committerMike Snitzer <snitzer@kernel.org>
Fri, 12 Jul 2024 16:39:06 +0000 (12:39 -0400)
commit617069741dfbb141bc4574531a5dbbbad8ddf197
tree6802e059d9e3513e37413620054305ee3d369a7a
parentd176fadb9e783c152d0820a50f84882b6c5ae314
dm: introduce the target flag mempool_needs_integrity

This commit introduces the dm target flag mempool_needs_integrity. When
the flag is set, device mapper will call bioset_integrity_create on it's
bio sets. The target can then call bio_integrity_alloc on the bios
allocated from the table's mempool.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-table.c
include/linux/device-mapper.h