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

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: default avatarJens Axboe <axboe@fb.com>
parent 98bc1f27
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