commit | c6d600c65ebfa10a2a10d3e9183a24527ebe2aa4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Apr 30 13:43:56 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 30 13:43:56 2014 -0600 |
tree | 37fb918771c5048284da88170ecae051a221d94e | |
parent | 98bc1f272aba620d4222120853011d0ef026cf56 [diff] |
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>