From a5d53aec839e7fbe558b26e3195a8a18d3451ab5 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Thu, 24 Mar 2016 17:42:36 +0000 Subject: [PATCH] libdm: Raid status region units are sectors --- libdm/libdevmapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h index ac79a5788..a90013f72 100644 --- a/libdm/libdevmapper.h +++ b/libdm/libdevmapper.h @@ -321,8 +321,8 @@ int dm_get_status_mirror(struct dm_pool *mem, const char *params, /* Parse params from STATUS call for raid target */ struct dm_status_raid { uint64_t reserved; - uint64_t total_regions; - uint64_t insync_regions; + uint64_t total_regions; /* sectors */ + uint64_t insync_regions; /* sectors */ uint64_t mismatch_count; uint32_t dev_count; char *raid_type;