Alter the order of checking time exceeded vs getting an io_u
authorRadha Ramachandran <radha@google.com>
Tue, 16 Jun 2009 06:31:29 +0000 (08:31 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Jun 2009 06:31:29 +0000 (08:31 +0200)
commitdcb4830de5a347dc929148d0e6cb7c4da9eb3a56
tree5e738f02ea7a5d8f1d82ce1c9d891f76699cc557
parentc1f75438a5888d96b3aa4f6a0cac50c4d4047f14
Alter the order of checking time exceeded vs getting an io_u

I was hitting a case where fio would loop for ever even though the
runtime was exceeded if it had difficulty getting the io_u struct, so
I suggest this change to the code so it wld not loop forever.

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