commit | 0775437fafc5c733564645a22f75490770bf41f7 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Fri Apr 05 11:32:22 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Apr 05 18:58:05 2013 +0200 |
tree | 8ebcc8304fc7a3f26230683fc47186b76e227a4d | |
parent | e660fb8b3ccc94652774d5895d122c0f13aecb89 [diff] |
block: clean up I/O throttling wait_time code The wait_time variable is in seconds. Reflect this in a comment and use NANOSECONDS_PER_SECOND instead of BLOCK_IO_SLICE_TIME * 10 (which happens to have the right value). Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-By: Benoit Canet <benoit@irqsave.net> Signed-off-by: Kevin Wolf <kwolf@redhat.com>