mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
blk-mq: refactor request insertion/merging
Refactor the logic around adding a new bio to a software queue, so we nest the ctx->lock where we really need it (merge and insertion) and don't hold it when we don't (init and IO start accounting). Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
98bc1f272a
commit
c6d600c65e
1 changed files with 15 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue