commit | 002e7183cb86d6100efef690b6fa90bf0988b084 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri May 17 12:39:53 2013 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri May 17 12:39:53 2013 +0200 |
tree | 1eabf59211f1cd5106c287b7bfa97a849c5a67a3 | |
parent | a46c5e01ba7382395cba7a561bc232e8e978d1f3 [diff] |
Ensure that we have no IO pending when sleeping For rate limiting or thinktime handling, ensure that we have no busy IO when we do spin or sleep. Otherwise we potentially skew the latencies a lot, since events could have been reaped. Already working for rate iops, just abstracted it out and ensure that we do the same for thinktime. Only a problem for certain workloads, those with queuedepth > 1. Signed-off-by: Jens Axboe <axboe@kernel.dk>