"Fossies" - the Fresh Open Source Software archive

Member "aoe6-83/conf/23-patches/brq1-old.diff" of archive aoe6-83.tar.gz:


diff -upr brq1/linux/drivers/block/aoe/aoecmd.c old/linux/drivers/block/aoe/aoecmd.c
--- brq1/linux/drivers/block/aoe/aoecmd.c	2011-01-05 16:49:53.000000000 -0500
+++ old/linux/drivers/block/aoe/aoecmd.c	2011-05-25 16:14:14.000000000 -0400
@@ -1165,7 +1165,10 @@ aoe_end_request(struct aoedev *d, struct
 
 	if (!fastfail) {
 		// cf. http://lkml.org/lkml/2006/10/31/28
-		__blk_run_queue(q);
+		if (!blk_queue_plugged(q))
+			q->request_fn(q);
+		else
+			__generic_unplug_device(q);
 	}
 }
 
Only in old/linux/drivers/block/aoe: aoecmd.c.orig