projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724376a
)
dm integrity: report provided data sectors in the status
author
Mikulas Patocka
<mpatocka@redhat.com>
Tue, 3 Jul 2018 18:13:28 +0000
(20:13 +0200)
committer
Mike Snitzer
<snitzer@redhat.com>
Fri, 27 Jul 2018 19:24:23 +0000
(15:24 -0400)
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-integrity.c
b/drivers/md/dm-integrity.c
index 5106652538201dcdaedb5234f1f310bf4ae1a812..09dadb771a6280a350a73745f3554e6bc6295869 100644
(file)
--- a/
drivers/md/dm-integrity.c
+++ b/
drivers/md/dm-integrity.c
@@
-2295,7
+2295,9
@@
static void dm_integrity_status(struct dm_target *ti, status_type_t type,
switch (type) {
case STATUSTYPE_INFO:
- DMEMIT("%llu", (unsigned long long)atomic64_read(&ic->number_of_mismatches));
+ DMEMIT("%llu %llu",
+ (unsigned long long)atomic64_read(&ic->number_of_mismatches),
+ (unsigned long long)ic->provided_data_sectors);
break;
case STATUSTYPE_TABLE: {