Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11cfb6ff authored by Ed L. Cashin's avatar Ed L. Cashin Committed by Jens Axboe
Browse files

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: default avatarEd Cashin <ecashin@coraid.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 298d8015
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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