[pve-devel] applied: [PATCH manager] vzdump: fix unit for bandwidth limit in log message

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jul 1 10:57:34 CEST 2024


On June 26, 2024 4:32 pm, Fiona Ebner wrote:
> The documentation 'man vzdump' states that the value is in KiB/s. This
> is correct, as seen in the plugin implementations, where the value is
> multiplied by 1024.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
>  PVE/VZDump.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
> index 5b7080f3..33e08f9e 100644
> --- a/PVE/VZDump.pm
> +++ b/PVE/VZDump.pm
> @@ -1084,7 +1084,7 @@ sub exec_backup_task {
>  	$task->{mode} = $mode;
>  
>     	debugmsg ('info', "backup mode: $mode", $logfd);
> -	debugmsg ('info', "bandwidth limit: $opts->{bwlimit} KB/s", $logfd)  if $opts->{bwlimit};
> +	debugmsg ('info', "bandwidth limit: $opts->{bwlimit} KiB/s", $logfd)  if $opts->{bwlimit};
>  	debugmsg ('info', "ionice priority: $opts->{ionice}", $logfd);
>  
>  	if ($mode eq 'stop') {
> -- 
> 2.39.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 




More information about the pve-devel mailing list