Convert ldisk_degraded to tri-state value
authorMichael Hanselmann <hansmi@google.com>
Thu, 6 Aug 2009 11:26:14 +0000 (13:26 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 6 Aug 2009 16:13:54 +0000 (18:13 +0200)
commitf208978a68d2e4145254f2047eff977e97d262f5
tree3aa3ef38d8c3b1b1181985d0f73f5fa6da7c5145
parent74f37195803456f2e4f008c9068e47d44bbb30bf
Convert ldisk_degraded to tri-state value

This allows us to report “uncertain” states (LDS_UNKNOWN) for cases
where the code can't easily detect or report what's wrong with a
block device.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/bdev.py
lib/cmdlib.py
lib/objects.py
scripts/gnt-instance