summaryrefslogtreecommitdiffstats
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeil Brown <neilb@notabene.brown>2008-06-28 08:31:36 +1000
committerNeil Brown <neilb@notabene.brown>2008-06-28 08:31:36 +1000
commit0fd62b861eac7d2dea9b7e939953b20f37186ea1 (patch)
treec15b1481076244c7093f6a0368c3cbc85fc9b7c6 /Documentation/md.txt
parentc7d0c941ae7f82940a13f785be70dc3097d96687 (diff)
downloadlinux-0fd62b861eac7d2dea9b7e939953b20f37186ea1.tar.gz
linux-0fd62b861eac7d2dea9b7e939953b20f37186ea1.tar.bz2
linux-0fd62b861eac7d2dea9b7e939953b20f37186ea1.zip
Make sure all changes to md/array_state are notified.
Changes in md/array_state could be of interest to a monitoring program. So make sure all changes trigger a notification. Exceptions: changing active_idle to active is not reported because it is frequent and not interesting. changing active to active_idle is only reported on arrays with externally managed metadata, as it is not interesting otherwise. Signed-off-by: Neil Brown <neilb@suse.de>
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 a8b430627473..dca97ba4944a 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -236,6 +236,11 @@ All md devices contain:
writing the word for the desired state, however some states
cannot be explicitly set, and some transitions are not allowed.
+ Select/poll works on this file. All changes except between
+ active_idle and active (which can be frequent and are not
+ very interesting) are notified. active->active_idle is
+ reported if the metadata is externally managed.
+
clear
No devices, no size, no level
Writing is equivalent to STOP_ARRAY ioctl