Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: move queue run on unplug to kblockd
There are worries that we are now consuming a lot more stack in some cases, since we potentially call into IO dispatch from schedule() or io_schedule(). We can reduce this problem by moving the running of the queue to kblockd, like the old plugging scheme did as well. This may or may not be a good idea from a performance perspective, depending on how many tasks have queue plugs running at the same time. For even the slightly contended case, doing just a single queue run from kblockd instead of multiple runs directly from the unpluggers will be faster. Signed-off-by: Jens Axboe <[email protected]> --- yaml --- svn_rev: 244103 current_ref: refs/heads/rpi-3.12.y current_commit: f4af3c3 head_branch: refs/heads/rpi-3.12.y migrated_from: v3
- Loading branch information