]> www.infradead.org Git - nvme.git/commit
dm-integrity: introduce the Inline mode
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2024 19:00:18 +0000 (21:00 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 19 Jul 2024 10:06:44 +0000 (12:06 +0200)
commitfb0987682c629c1d2c476f35f6fde405a5e304a4
treee29d96ba0c770ee5a19881dfaa15f8ad2b09562f
parent617069741dfbb141bc4574531a5dbbbad8ddf197
dm-integrity: introduce the Inline mode

This commit introduces a new 'I' mode for dm-integrity.

The 'I' mode may be selected if the underlying device has non-power-of-2
sector size. In this mode, dm-integrity will store integrity data
directly in device's sectors and it will not use journal.

This mode improves performance and reduces flash wear because there would
be no journal writes.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-integrity.c