Skip to content
Commit 01ff5dbc authored by Chetan Loke's avatar Chetan Loke Committed by Jens Axboe
Browse files

block/nbd: micro-optimization in nbd request completion



Add in-flight cmds to the tail. That way while searching
(during request completion),we will always get a hit on the
first element.

Signed-off-by: default avatarChetan Loke <loke.chetan@gmail.com>
Acked-by: default avatar <Paul.Clements@steeleye.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 72ea1f74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment