[pve-devel] [PATCH manager] vzdump: fix unit for bandwidth limit in log message
Fiona Ebner
f.ebner at proxmox.com
Wed Jun 26 16:32:30 CEST 2024
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
More information about the pve-devel
mailing list