Skip to content
Commit 99e22598 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: drop queue lock before calling __blk_run_queue() for kblockd punt



If we know we are going to punt to kblockd, we can drop the queue
lock before calling into __blk_run_queue() since it only does a
safe bit test and a workqueue call. Since kblockd needs to grab
this very lock as one of the first things it does, it's a good
optimization to drop the lock before waking kblockd.

Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent b4cb290e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment