block: keep I/O throttling slice time constant
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 Apr 2013 09:32:20 +0000 (11:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 5 Apr 2013 16:58:05 +0000 (18:58 +0200)
commitae29d6c64bd8d55873a2cb1df50ae4321b497447
treed677532c07fcb19a2f6708eecaa185f63e92d8da
parent5905fbc9c94ccd744c1b249472eafcc2d827548a
block: keep I/O throttling slice time constant

It is not necessary to adjust the slice time at runtime.  We already
extend the current slice in order to carry over accounting into the next
slice.  Changing the actual slice time value introduces oscillations.

The guest may experience large changes in throughput or IOPS from one
moment to the next when slice times are adjusted.

Reported-by: BenoƮt Canet <benoit@irqsave.net>
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
blockdev.c
include/block/block_int.h