dm integrity: count and display checksum failures
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Jul 2017 16:00:00 +0000 (12:00 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 28 Aug 2017 15:47:17 +0000 (11:47 -0400)
commit3f2e539359bd0e709eb35127dc04df6bf8c3e8de
tree61a07d683211e04f852c3e1b7b4e9fe9c3852996
parent1e3b21c6fb671a5ce9d77a05a8bde805d8908467
dm integrity: count and display checksum failures

This changes DM integrity to count the number of checksum failures and
report the counter in response to STATUSTYPE_INFO request (via 'dmsetup
status').

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