dm integrity: report provided data sectors in the status
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Этот коммит содержится в:

коммит произвёл
Mike Snitzer

родитель
724376a04d
Коммит
f84fd2c984
@@ -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: {
|
||||
|
Ссылка в новой задаче
Block a user