Make sure all changes to md/array_state are notified.
authorNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:36 +0000 (08:31 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:36 +0000 (08:31 +1000)
commit0fd62b861eac7d2dea9b7e939953b20f37186ea1
treec15b1481076244c7093f6a0368c3cbc85fc9b7c6
parentc7d0c941ae7f82940a13f785be70dc3097d96687
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>
Documentation/md.txt
drivers/md/md.c