windowsaio: initialize and map windowsaio IO structure to io_u
authorJens Axboe <axboe@kernel.dk>
Thu, 6 Dec 2012 19:30:38 +0000 (20:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Dec 2012 19:30:38 +0000 (20:30 +0100)
commitc73ed24623ad94a5254e8302298797aba2eb1e9a
tree635e72a32e220eab0275a400c611d85dd1c79406
parent119cd939010b646825d06ac04af41dc5268f2765
windowsaio: initialize and map windowsaio IO structure to io_u

Instead of searching for a free entry everytime we enter
queue, do this when the io_u is setup. It's cleaner and
faster.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
engines/windowsaio.c
ioengine.h