mbox series

[v3,0/2] qemu-img: add support for rate limit in commit and convert

Message ID 1603205264-17424-1-git-send-email-lizhengui@huawei.com (mailing list archive)
Headers show
Series qemu-img: add support for rate limit in commit and convert | expand

Message

Zhengui li Oct. 20, 2020, 2:47 p.m. UTC
Currently, there is no rate limit for qemu-img commit and convert. This may
cause the task of qemu-img commit and convert to consume all the bandwidth
of the storage. This will affect the IO performance of other processes
and virtual machines under shared storage.

The following patches add support for rate limit in qemu-img commit and
convert to get better quality of sevice.

Zhengui Li (2):
  qemu-img: add support for rate limit in qemu-img commit
  qemu-img: add support for rate limit in qemu-img convert

 docs/tools/qemu-img.rst | 10 ++++++++--
 qemu-img-cmds.hx        |  8 ++++----
 qemu-img.c              | 38 +++++++++++++++++++++++++++++++++++---
 3 files changed, 47 insertions(+), 9 deletions(-)

Comments

Alberto Garcia Oct. 20, 2020, 2:57 p.m. UTC | #1
On Tue 20 Oct 2020 04:47:42 PM CEST, Zhengui li wrote:
> Currently, there is no rate limit for qemu-img commit and convert. This may
> cause the task of qemu-img commit and convert to consume all the bandwidth
> of the storage. This will affect the IO performance of other processes
> and virtual machines under shared storage.
>
> The following patches add support for rate limit in qemu-img commit and
> convert to get better quality of sevice.
>
> Zhengui Li (2):
>   qemu-img: add support for rate limit in qemu-img commit
>   qemu-img: add support for rate limit in qemu-img convert

Reviewed-by: Alberto Garcia <berto@igalia.com>

Berto
Kevin Wolf Oct. 23, 2020, 7:38 a.m. UTC | #2
Am 20.10.2020 um 16:47 hat Zhengui li geschrieben:
> Currently, there is no rate limit for qemu-img commit and convert. This may
> cause the task of qemu-img commit and convert to consume all the bandwidth
> of the storage. This will affect the IO performance of other processes
> and virtual machines under shared storage.
> 
> The following patches add support for rate limit in qemu-img commit and
> convert to get better quality of sevice.

Thanks, applied to the block branch.

Kevin