Runtime for fio jobs when used in conjuction with thinktime, thinktime_iotime and thinktime_spin were sometimes more than what is specified. Added a fix so that fio doesn't spin or sleep for any duration beyond runtime. For the first cycle when we specify thinktime and thinktime_iotime, fio starts by doing I/O for thinktime + thinktime_iotime, which should just be for thinktime_iotime. Addedd a fix for that. Ankit Kumar (1): backend: fix runtime when used with thinktime backend.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) -- 2.17.1