projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b29bc
)
md: notify mdstat waiters of level change
author
Dan Williams
<dan.j.williams@intel.com>
Sun, 2 May 2010 01:14:57 +0000
(18:14 -0700)
committer
NeilBrown
<neilb@suse.de>
Tue, 18 May 2010 05:27:57 +0000
(15:27 +1000)
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>
drivers/md/md.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index af0780ae56b572a8a49c882ca112eabb62f5ffd7..69f659e46aa6204d39dc98c6fb752a8eaaf0856a 100644
(file)
--- 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)
set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
md_wakeup_thread(mddev->thread);
sysfs_notify(&mddev->kobj, NULL, "level");
+ md_new_event(mddev);
return rv;
}