Fix loop with multiple files
authorJens Axboe <jens.axboe@oracle.com>
Thu, 29 Mar 2007 09:15:06 +0000 (11:15 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 29 Mar 2007 09:15:06 +0000 (11:15 +0200)
commit1020a139beff50faf1bb18f761b024b664a09e14
treeab6248bb5227e7d26d6932b7a521c33099f074ae
parent0401bca6b35ee32681462713ce9bc0cc2accbbf2
Fix loop with multiple files

The random lookup would loop infinitely, if no files were
open. So check for that and check for number of files
done.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
fio.h
io_u.c