commit | 78c1eda5486f586ca73e9cbe7e40b93fccdbd218 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Tue Aug 30 15:34:14 2011 -0600 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue Aug 30 15:34:14 2011 -0600 |
tree | 6bb1abe189b8ba8a24653a3f743fe43b3941f252 | |
parent | 5f739e0e2912b809635fac635a8c1140155577e6 [diff] |
Fix bad latency reporting for rated IO jobs If we are going to sleep to satisfy a given rate limit, then ensure that we flush pending IO first. Otherwise they end up including the sleep time in the calculated completion latencies. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>