aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-05-01 21:14:57 -0400
committerNeilBrown <neilb@suse.de>2010-05-18 01:27:57 -0400
commitbb7f8d2217d8753ab5008c78f16697d9e697d570 (patch)
tree5717c254192b171215bbb8358f68646c3b2e1326 /drivers/md
parentf1b29bcae116409db5e543622aadab43041c9ae9 (diff)
md: notify mdstat waiters of level change
Level modifications change the output of mdstat. The mdmon manager thread is interested in these events for external metadata management. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index af0780ae56b5..69f659e46aa6 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -3075,6 +3075,7 @@ level_store(mddev_t *mddev, const char *buf, size_t len)
3075 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); 3075 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
3076 md_wakeup_thread(mddev->thread); 3076 md_wakeup_thread(mddev->thread);
3077 sysfs_notify(&mddev->kobj, NULL, "level"); 3077 sysfs_notify(&mddev->kobj, NULL, "level");
3078 md_new_event(mddev);
3078 return rv; 3079 return rv;
3079} 3080}
3080 3081