block: clean up I/O throttling wait_time code
commit0775437fafc5c733564645a22f75490770bf41f7
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 Apr 2013 09:32:22 +0000 (5 11:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 5 Apr 2013 16:58:05 +0000 (5 18:58 +0200)
tree8ebcc8304fc7a3f26230683fc47186b76e227a4d
parente660fb8b3ccc94652774d5895d122c0f13aecb89
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>
block.c