aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-04-05 11:32:22 +0200
committerKevin Wolf <kwolf@redhat.com>2013-04-05 18:58:05 +0200
commit0775437fafc5c733564645a22f75490770bf41f7 (patch)
tree8ebcc8304fc7a3f26230683fc47186b76e227a4d /block
parente660fb8b3ccc94652774d5895d122c0f13aecb89 (diff)
downloadqemu-0775437fafc5c733564645a22f75490770bf41f7.zip
qemu-0775437fafc5c733564645a22f75490770bf41f7.tar.gz
qemu-0775437fafc5c733564645a22f75490770bf41f7.tar.bz2
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 'block')
0 files changed, 0 insertions, 0 deletions