diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 03:20:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:34:09 -0500 |
commit | 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 (patch) | |
tree | 61d1eb6e35c0eec66e5a8610c1f57b1e6eec135c /Documentation | |
parent | d9d166c2a9d5d01af34396793950aa695883eed4 (diff) |
[PATCH] md: count corrected read errors per drive
Store this total in superblock (As appropriate), and make it available to
userspace via sysfs.
Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/md.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index fd43fd2cad2f..a3eadf8e1701 100644 --- a/Documentation/md.txt +++ b/Documentation/md.txt | |||
@@ -222,6 +222,17 @@ Each directory contains: | |||
222 | of being recoverred to | 222 | of being recoverred to |
223 | This list make grow in future. | 223 | This list make grow in future. |
224 | 224 | ||
225 | errors | ||
226 | An approximate count of read errors that have been detected on | ||
227 | this device but have not caused the device to be evicted from | ||
228 | the array (either because they were corrected or because they | ||
229 | happened while the array was read-only). When using version-1 | ||
230 | metadata, this value persists across restarts of the array. | ||
231 | |||
232 | This value can be written while assembling an array thus | ||
233 | providing an ongoing count for arrays with metadata managed by | ||
234 | userspace. | ||
235 | |||
225 | 236 | ||
226 | An active md device will also contain and entry for each active device | 237 | An active md device will also contain and entry for each active device |
227 | in the array. These are named | 238 | in the array. These are named |