Skip to contentSkip to conversation

raid6_unplug_device() fix

PATCH In review Coywolf Qi Hunt 1 participant 1 message Apr 25, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 raid6_unplug_device() fix

Hello,

Fix raid6_unplug_device() to not disturb raid6d unnecessarily.

---

drivers/md/raid6main.c +1 -1
index 820536e..d3deedb 100644
@@ -1644,8 +1644,8 @@ static void raid6_unplug_device(request_
 	if (blk_remove_plug(q)) {
 		conf->seq_flush++;
 		raid6_activate_delayed(conf);
+		md_wakeup_thread(mddev->thread);
 	}
-	md_wakeup_thread(mddev->thread);
 
 	spin_unlock_irqrestore(&conf->device_lock, flags);
 
Signature · 1 line
Coywolf Qi Hunt