[pve-devel] applied: [PATCH qemu-server] fix disk throttling syntax
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Jul 14 15:16:33 CEST 2017
applied
On Fri, Jul 14, 2017 at 02:36:16PM +0200, Dominik Csapak wrote:
> the syntax was wrong, it was (e.g. for iops-write):
>
> throttling.iops-write=-max100
> instead of
> throttling.iops-write-max=100
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> PVE/QemuServer.pm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 79a65ee..98cd762 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -1613,10 +1613,10 @@ sub print_drive_full {
> $opts .= ",throttling.iops$qmpname=$v";
> }
> if (my $v = $drive->{"iops${dir}_max"}) {
> - $opts .= ",throttling.iops$qmpname=-max$v";
> + $opts .= ",throttling.iops$qmpname-max=$v";
> }
> if (my $v = $drive->{"iops${dir}_max_length"}) {
> - $opts .= ",throttling.iops$qmpname=-max-length$v";
> + $opts .= ",throttling.iops$qmpname-max-length=$v";
> }
> }
>
> --
> 2.11.0
More information about the pve-devel
mailing list