From 74923c213fe3c876d3532ef4251e15f946e90fb5 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 16 Nov 2016 15:29:09 +0100 Subject: [PATCH] cleanup: add doc for raid status states Show possible values for raid fields user may get ATM. --- WHATS_NEW_DM | 1 + libdm/libdevmapper.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 72a62cc02..a8dd4f5f7 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.137 - ==================================== + Document raid status values. Version 1.02.136 - 5th November 2016 ==================================== diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h index 97c3e51f2..09e3fcc4b 100644 --- a/libdm/libdevmapper.h +++ b/libdm/libdevmapper.h @@ -327,7 +327,9 @@ struct dm_status_raid { uint64_t mismatch_count; uint32_t dev_count; char *raid_type; + /* A - alive, a - alive not in-sync, D - dead/failed */ char *dev_health; + /* idle, frozen, resync, recover, check, repair */ char *sync_action; };