NeilBrown
005eca5e74
[PATCH] md: make sure resync gets started when array starts.
...
We weren't actually waking up the md thread after setting
MD_RECOVERY_NEEDED when assembling an array, so it is possible to lose a
race and not actually start resync.
So add a call to md_wakeup_thread, and while we are at it, remove all the
"if (mddev->thread)" guards as md_wake_thread does its own checking.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-23 11:44:30 -07:00
..
2005-04-16 15:20:36 -07:00
2005-08-04 13:00:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:48 -07:00
2005-05-05 16:36:46 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:46 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-12 16:19:11 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:46 -07:00
2005-04-16 15:20:36 -07:00
2005-08-04 13:00:55 -07:00
2005-04-16 15:20:36 -07:00
2005-07-12 16:19:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-28 21:46:03 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:46 -07:00
2005-07-28 21:46:03 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:48 -07:00
2005-06-21 19:07:43 -07:00
2005-08-23 11:44:30 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:48 -07:00
2005-07-15 09:54:50 -07:00
2005-08-04 13:00:54 -07:00
2005-08-01 19:14:01 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-01 19:14:01 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:48 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00