]> err.no Git - linux-2.6/commit
Make sure all changes to md/dev-XX/state are notified
authorNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:44 +0000 (08:31 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:44 +0000 (08:31 +1000)
commit526647320e696f434647f38421a6ecf65b859c43
treeaa6bf13e6aa766051ba32a8b64157f4adf9fcd3e
parenta99ac97113d5bc25ddc4d17f404c2024ac6c57f9
Make sure all changes to md/dev-XX/state are notified

The important state change happens during an interrupt
in md_error.  So just set a flag there and call sysfs_notify
later in process context.

Signed-off-by: Neil Brown <neilb@suse.de>
Documentation/md.txt
drivers/md/md.c
include/linux/raid/md_k.h