aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-06-26 03:28:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 12:58:40 -0400
commitf655675b3fe09c4d0506d357527fe07544623009 (patch)
tree969a798b6ba25b88f08b0f9cfe1aed323be81d3e /Documentation/md.txt
parenta94213b1fa7b26dcc271bf4b4f9eebf1f1af33a2 (diff)
[PATCH] md: Allow the write_mostly flag to be set via sysfs
It appears in /sys/mdX/md/dev-YYY/state and can be set or cleared by writing 'writemostly' or '-writemostly' respectively. Signed-off-by: Neil Brown <neilb@suse.de> 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.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index f3d418ba625e..0668f9dc9d29 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -309,6 +309,9 @@ Each directory contains:
309 faulty - device has been kicked from active use due to 309 faulty - device has been kicked from active use due to
310 a detected fault 310 a detected fault
311 in_sync - device is a fully in-sync member of the array 311 in_sync - device is a fully in-sync member of the array
312 writemostly - device will only be subject to read
313 requests if there are no other options.
314 This applies only to raid1 arrays.
312 spare - device is working, but not a full member. 315 spare - device is working, but not a full member.
313 This includes spares that are in the process 316 This includes spares that are in the process
314 of being recoverred to 317 of being recoverred to
@@ -316,6 +319,8 @@ Each directory contains:
316 This can be written to. 319 This can be written to.
317 Writing "faulty" simulates a failure on the device. 320 Writing "faulty" simulates a failure on the device.
318 Writing "remove" removes the device from the array. 321 Writing "remove" removes the device from the array.
322 Writing "writemostly" sets the writemostly flag.
323 Writing "-writemostly" clears the writemostly flag.
319 324
320 errors 325 errors
321 An approximate count of read errors that have been detected on 326 An approximate count of read errors that have been detected on