From: Stephen Rothwell Date: Fri, 14 Oct 2011 02:44:51 +0000 (+1100) Subject: Merge remote-tracking branch 'block/for-next' X-Git-Tag: next-20111014~51 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4836018b19c27133b876f5590b786cbd6a11fef3;p=karo-tx-linux.git Merge remote-tracking branch 'block/for-next' --- 4836018b19c27133b876f5590b786cbd6a11fef3 diff --cc drivers/md/raid1.c index d9587dffe533,97f2a5f977b1..d4ddfa627301 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@@ -1116,15 -1117,8 +1116,13 @@@ read_again goto retry_write; } + r1_bio_write_done(r1_bio); + + /* In case raid1d snuck in to freeze_array */ + wake_up(&conf->wait_barrier); + if (do_sync || !bitmap || !plugged) md_wakeup_thread(mddev->thread); - - return 0; } static void status(struct seq_file *seq, mddev_t *mddev)