From: Ed Cashin Date: Fri, 9 Nov 2012 00:17:15 +0000 (-0500) Subject: aoe: avoid running request handler on plugged queue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11cfb6ff736dc89b0447b8902d6912692303f6af;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git aoe: avoid running request handler on plugged queue Calling the request handler directly on a plugged queue defeats the performance improvements provided by the plugging mechanism. Use the __blk_run_queue function instead of calling the request handler directly, so that we don't interfere with the block layer's ability to plug the queue. Signed-off-by: Ed Cashin Signed-off-by: Jens Axboe --- diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 3804a0af3ef1..9fe4f1865558 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -935,7 +935,7 @@ aoe_end_request(struct aoedev *d, struct request *rq, int fastfail) /* cf. http://lkml.org/lkml/2006/10/31/28 */ if (!fastfail) - q->request_fn(q); + __blk_run_queue(q); } static void