diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2008-02-08 02:11:39 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-02-08 02:11:39 +0000 |
commit | af195ac82e38ba802fd86b5a014ed05ef6dd88bb (patch) | |
tree | 661e5848dd970f6213cbcf181818f234cef2c571 /lib/percpu_counter.c | |
parent | 06386bbfd2441416875d0403d405c56822f6ebac (diff) |
dm raid1: report fault status
This patch adds extra information to the mirror status output, so that
it can be determined which device(s) have failed. For each mirror device,
a character is printed indicating the most severe error encountered. The
characters are:
* A => Alive - No failures
* D => Dead - A write failure occurred leaving mirror out-of-sync
* S => Sync - A sychronization failure occurred, mirror out-of-sync
* R => Read - A read failure occurred, mirror data unaffected
This allows userspace to properly reconfigure the mirror set.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions