diff options
author | Neil Brown <neilb@notabene.brown> | 2008-06-28 08:31:36 +1000 |
---|---|---|
committer | Neil Brown <neilb@notabene.brown> | 2008-06-28 08:31:36 +1000 |
commit | 0fd62b861eac7d2dea9b7e939953b20f37186ea1 (patch) | |
tree | c15b1481076244c7093f6a0368c3cbc85fc9b7c6 /Documentation | |
parent | c7d0c941ae7f82940a13f785be70dc3097d96687 (diff) |
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')
-rw-r--r-- | Documentation/md.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index a8b43062747..dca97ba4944 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 |