* [patch] raid5_unplug_device() fix
@ 2006-04-20 10:01 qiyong
0 siblings, 0 replies; only message in thread
From: qiyong @ 2006-04-20 10:01 UTC (permalink / raw)
To: akpm; +Cc: linux-raid, linux-kernel, mingo, neilb
Hello,
Fix raid5_unplug_device() to not disturb raid5d unnecessarily.
Signed-off-by: Coywolf Qi Hunt <qiyong@fc-cn.com>
---
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 3184360..eff1d9c 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -1680,8 +1680,8 @@ static void raid5_unplug_device(request_
if (blk_remove_plug(q)) {
conf->seq_flush++;
raid5_activate_delayed(conf);
+ md_wakeup_thread(mddev->thread);
}
- md_wakeup_thread(mddev->thread);
spin_unlock_irqrestore(&conf->device_lock, flags);
--
Coywolf Qi Hunt
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-20 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-20 10:01 [patch] raid5_unplug_device() fix qiyong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).