1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

libdm: Raid status region units are sectors

This commit is contained in:
Alasdair G Kergon 2016-03-24 17:42:36 +00:00
parent d243db5466
commit a5d53aec83

View File

@ -321,8 +321,8 @@ int dm_get_status_mirror(struct dm_pool *mem, const char *params,
/* Parse params from STATUS call for raid target */ /* Parse params from STATUS call for raid target */
struct dm_status_raid { struct dm_status_raid {
uint64_t reserved; uint64_t reserved;
uint64_t total_regions; uint64_t total_regions; /* sectors */
uint64_t insync_regions; uint64_t insync_regions; /* sectors */
uint64_t mismatch_count; uint64_t mismatch_count;
uint32_t dev_count; uint32_t dev_count;
char *raid_type; char *raid_type;