summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2011-06-07 17:49:36 -0500
committerNeilBrown <neilb@suse.de>2011-06-08 15:11:31 +1000
commit0fd018af37dadbb7826850883ad8abfecdb1a00b (patch)
treef95ebb9ec9111dc87ad8037ff7e07da802d924e3 /drivers/md/raid1.h
parentac42450c7c814769bee963ae4b897c149bb0ab53 (diff)
downloadlinux-0fd018af37dadbb7826850883ad8abfecdb1a00b.tar.bz2
MD: move thread wakeups into resume
Move personality and sync/recovery thread starting outside md_run. Moving the wakeup's of the personality and sync/recovery threads out of md_run and into do_md_run and mddev_resume solves two issues: 1) It allows bitmap_load to be called before the sync_thread is run and 2) when MD personalities are used by device-mapper (dm-raid.c), the start-up of the array is better alligned with device-mapper primatives (CTR/resume/suspend/DTR). I/O - in this case, recovery operations - should not happen until after a resume has taken place. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions