]> git.ipfire.org Git - thirdparty/linux.git/commit
dm-verity-fec: log target_block instead of index_in_region
authorEric Biggers <ebiggers@kernel.org>
Fri, 6 Feb 2026 04:59:40 +0000 (20:59 -0800)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 9 Mar 2026 14:13:52 +0000 (15:13 +0100)
commitd0829329de71634129420ff53557bb0ade6a9145
tree382419d7bb72c0e93576d18b3e786330ff5311d6
parent71dab3b90f177462a23af81658c9cea327016137
dm-verity-fec: log target_block instead of index_in_region

The log message for a FEC error or correction includes the data device
name and index_in_region as the context.  Although the result of FEC
(for a particular dm-verity instance) is expected to be the same for a
given index_in_region, index_in_region does not uniquely identify the
actual target block that is being corrected.  Since that value
(target_block) is likely more useful, log it instead.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-verity-fec.c