[PATCH] Add thinktime_spin parameter

If you specify thinktime currently, fio will sleep for the duration.
Apps will typically do some data processing before sleeping, so add
a thinktime_spin parameter to control how much CPU to burn before
sleeping.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/HOWTO b/HOWTO
index f61b4c1..8e6e29b 100644
--- a/HOWTO
+++ b/HOWTO
@@ -343,7 +343,14 @@
 
 thinktime=int	Stall the job x microseconds after an io has completed before
 		issuing the next. May be used to simulate processing being
-		done by an application. See thinktime_blocks.
+		done by an application. See thinktime_blocks and
+		thinktime_spin.
+
+thinktime_spin=int
+		Only valid if thinktime is set - pretend to spend CPU time
+		doing something with the data received, before falling back
+		to sleeping for the rest of the period specified by
+		thinktime.
 
 thinktime_blocks
 		Only valid if thinktime is set - control how many blocks