diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-18 14:40:45 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-01-26 11:45:26 +0100 |
commit | 5094a6c016f6e7a4fc800816d716e10ce2331396 (patch) | |
tree | 5e4bf84bc906e65691479f910e3bdb3a71bd0a45 /qerror.c | |
parent | 4f1043b4ffdd6f130cab7c1d8d59d833a475adac (diff) |
block: rate-limit streaming operations
This patch implements rate-limiting for image streaming. If we've
exceeded the bandwidth quota for a 100 ms time slice we sleep the
coroutine until the next slice begins.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qerror.c')
0 files changed, 0 insertions, 0 deletions