git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] md: Allow the write_mostly flag to be set via sysfs
[safe/jmp/linux-2.6]
/
Documentation
/
md.txt
diff --git
a/Documentation/md.txt
b/Documentation/md.txt
index
f3d418b
..
0668f9d
100644
(file)
--- a/
Documentation/md.txt
+++ b/
Documentation/md.txt
@@
-309,6
+309,9
@@
Each directory contains:
faulty - device has been kicked from active use due to
a detected fault
in_sync - device is a fully in-sync member of the array
faulty - device has been kicked from active use due to
a detected fault
in_sync - device is a fully in-sync member of the array
+ writemostly - device will only be subject to read
+ requests if there are no other options.
+ This applies only to raid1 arrays.
spare - device is working, but not a full member.
This includes spares that are in the process
of being recoverred to
spare - device is working, but not a full member.
This includes spares that are in the process
of being recoverred to
@@
-316,6
+319,8
@@
Each directory contains:
This can be written to.
Writing "faulty" simulates a failure on the device.
Writing "remove" removes the device from the array.
This can be written to.
Writing "faulty" simulates a failure on the device.
Writing "remove" removes the device from the array.
+ Writing "writemostly" sets the writemostly flag.
+ Writing "-writemostly" clears the writemostly flag.
errors
An approximate count of read errors that have been detected on
errors
An approximate count of read errors that have been detected on