mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
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 <ecashin@coraid.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
298d80152c
commit
11cfb6ff73
1 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ aoe_end_request(struct aoedev *d, struct request *rq, int fastfail)
|
||||||
|
|
||||||
/* cf. http://lkml.org/lkml/2006/10/31/28 */
|
/* cf. http://lkml.org/lkml/2006/10/31/28 */
|
||||||
if (!fastfail)
|
if (!fastfail)
|
||||||
q->request_fn(q);
|
__blk_run_queue(q);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue