block/nbd: micro-optimization in nbd request completion
authorChetan Loke <loke.chetan@gmail.com>
Tue, 31 Jul 2012 06:47:13 +0000 (08:47 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jul 2012 06:47:13 +0000 (08:47 +0200)
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: Chetan Loke <loke.chetan@gmail.com>
Acked-by: Paul.Clements@steeleye.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found