diff options
author | NeilBrown | 2006-01-06 09:20:52 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-01-06 17:34:09 +0100 |
commit | 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 (patch) | |
tree | 61d1eb6e35c0eec66e5a8610c1f57b1e6eec135c /Documentation/md.txt | |
parent | [PATCH] md: allow array level to be set textually via sysfs (diff) | |
download | kernel-qcow2-linux-4dbcdc751cb25ffca3a8374cbc5ab6de961cc545.tar.gz kernel-qcow2-linux-4dbcdc751cb25ffca3a8374cbc5ab6de961cc545.tar.xz kernel-qcow2-linux-4dbcdc751cb25ffca3a8374cbc5ab6de961cc545.zip |
[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/md.txt')
-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: of being recoverred to This list make grow in future. + errors + An approximate count of read errors that have been detected on + this device but have not caused the device to be evicted from + the array (either because they were corrected or because they + happened while the array was read-only). When using version-1 + metadata, this value persists across restarts of the array. + + This value can be written while assembling an array thus + providing an ongoing count for arrays with metadata managed by + userspace. + An active md device will also contain and entry for each active device in the array. These are named |