summaryrefslogtreecommitdiff
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeil Brown <neilb@notabene.brown>2008-06-28 02:31:43 +0400
committerNeil Brown <neilb@notabene.brown>2008-06-28 02:31:43 +0400
commita99ac97113d5bc25ddc4d17f404c2024ac6c57f9 (patch)
treeb1848af670eb9f67961f7abc7cd5a19a07b9b37e /Documentation/md.txt
parent72a23c211e4587859d5bf61ac4962d76e593fb02 (diff)
downloadlinux-a99ac97113d5bc25ddc4d17f404c2024ac6c57f9.tar.xz
Make sure all changes to md/degraded are notified.
When a device fails, when a spare is activated, when an array is reshaped, or when an array is started, the extent to which the array is degraded can change. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Documentation/md.txt')
-rw-r--r--Documentation/md.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index c05bfb55659e..eb6e69e3732e 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -392,6 +392,13 @@ also have
achieved. In that case, the transition to "recover" isn't
notified, but the transition away is.
+ degraded
+ This contains a count of the number of devices by which the
+ arrays is degraded. So an optimal array with show '0'. A
+ single failed/missing drive will show '1', etc.
+ This file responds to select/poll, any increase or decrease
+ in the count of missing devices will trigger an event.
+
mismatch_count
When performing 'check' and 'repair', and possibly when
performing 'resync', md will count the number of errors that are