Dan Williams 4f54b0e948 md: notify userspace on 'stop' events
This additional notification to 'array_state' is needed to allow the
monitor application to learn about stop events via sysfs.  The
sysfs_notify("sync_action") call that comes at the end of do_md_stop()
(via md_new_event) is insufficient since the 'sync_action' attribute has
been removed by this point.

(Seems like a sysfs-notify-on-removal patch is a better fix.  Currently
removal updates the event count but does not wake up waiters)

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-24 09:56:10 -07:00
..
2008-05-19 17:56:10 -04:00
2008-05-20 14:52:25 -07:00
2008-05-05 15:08:38 -07:00
2008-05-20 16:44:43 +02:00
2008-05-20 13:31:54 -07:00
2008-05-20 13:31:55 -07:00
2008-04-29 08:06:18 -07:00
2008-05-24 09:56:10 -07:00
2008-05-21 16:55:59 -07:00
2008-05-21 16:56:00 -07:00
2008-05-21 16:55:59 -07:00
2008-05-20 13:31:56 -07:00
2008-04-23 21:25:35 -04:00
2008-05-20 13:31:55 -07:00
2008-04-24 23:57:33 +02:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00