Re: [Qemu-devel] [PATCH 5/7] block/commit: use block_job_throttle

2017-12-18 Thread Stefan Hajnoczi
On Wed, Dec 13, 2017 at 07:59:51PM -0500, John Snow wrote: > Depending on the value of `speed` and how fast our backends are, > delay_ns might be 0 very, very often. This creates some warning > messages that spook users, but it's also pretty inefficient. > > Use block_job_throttle instead to

Re: [Qemu-devel] [PATCH 5/7] block/commit: use block_job_throttle

2017-12-14 Thread Paolo Bonzini
On 14/12/2017 01:59, John Snow wrote: > Depending on the value of `speed` and how fast our backends are, > delay_ns might be 0 very, very often. This creates some warning > messages that spook users, but it's also pretty inefficient. > > Use block_job_throttle instead to yield a little more

[Qemu-devel] [PATCH 5/7] block/commit: use block_job_throttle

2017-12-13 Thread John Snow
Depending on the value of `speed` and how fast our backends are, delay_ns might be 0 very, very often. This creates some warning messages that spook users, but it's also pretty inefficient. Use block_job_throttle instead to yield a little more intelligently. Signed-off-by: John Snow