• Jonathan Brassow's avatar
    dm raid1: report fault status · af195ac8
    Jonathan Brassow authored
    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: default avatarJonathan Brassow <jbrassow@redhat.com>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    af195ac8
dm-raid1.c 44.3 KB