diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-05 11:32:22 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 18:58:05 +0200 |
commit | 0775437fafc5c733564645a22f75490770bf41f7 (patch) | |
tree | 8ebcc8304fc7a3f26230683fc47186b76e227a4d /stubs/vm-stop.c | |
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>
Diffstat (limited to 'stubs/vm-stop.c')
0 files changed, 0 insertions, 0 deletions