Messages in this thread Patch in this message | | | From | Ed Cashin <> | Subject | [PATCH 1/8] aoe: avoid running request handler on plugged queue | From | Ed Cashin <> | Date | Thu, 8 Nov 2012 19:17:15 -0500 |
| |
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> --- drivers/block/aoe/aoecmd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index c491fba..3ce01f6 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -925,7 +925,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 -- 1.7.1
| |