aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-01-06 03:21:36 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:34:10 -0500
commit88202a0c84e1951d6630d1d557d4801a8cc5b5ef (patch)
tree5a1aadc008de1ee68f40a4bb667157f248211230 /Documentation/md.txt
parent6d7ff7380b2e28c2807da3bf9fa614d91d15bacf (diff)
[PATCH] md: allow sync-speed to be controlled per-device
Also export current (average) speed and status in 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.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index b8d172b254f7..03a13c462cf2 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -207,6 +207,28 @@ All md devices contain:
207 available. It will then appear at md/dev-XXX (depending on the 207 available. It will then appear at md/dev-XXX (depending on the
208 name of the device) and further configuration is then possible. 208 name of the device) and further configuration is then possible.
209 209
210 sync_speed_min
211 sync_speed_max
212 This are similar to /proc/sys/dev/raid/speed_limit_{min,max}
213 however they only apply to the particular array.
214 If no value has been written to these, of if the word 'system'
215 is written, then the system-wide value is used. If a value,
216 in kibibytes-per-second is written, then it is used.
217 When the files are read, they show the currently active value
218 followed by "(local)" or "(system)" depending on whether it is
219 a locally set or system-wide value.
220
221 sync_completed
222 This shows the number of sectors that have been completed of
223 whatever the current sync_action is, followed by the number of
224 sectors in total that could need to be processed. The two
225 numbers are separated by a '/' thus effectively showing one
226 value, a fraction of the process that is complete.
227
228 sync_speed
229 This shows the current actual speed, in K/sec, of the current
230 sync_action. It is averaged over the last 30 seconds.
231
210 232
211As component devices are added to an md array, they appear in the 'md' 233As component devices are added to an md array, they appear in the 'md'
212directory as new directories named 234directory as new directories named