]> git.proxmox.com Git - qemu-server.git/commit
vzdump: display actually uploaded chunks as 'write' speed
authorStefan Reiter <s.reiter@proxmox.com>
Wed, 19 Aug 2020 15:02:02 +0000 (17:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Aug 2020 16:20:34 +0000 (18:20 +0200)
commit8825248c43c4455c87fc49f38af634a94f2feca8
tree3046c251e7e22b17f3f9370796b2d91786dde2f0
parent3a44897f74bbaf27c1b44bd3c0c7d6fdc06b8a9f
vzdump: display actually uploaded chunks as 'write' speed

Previously 'read' and 'write' would always show the same value, which is
of little use. Change it so 'write' excludes reused bytes, thus
displaying the actual upload speed.

$last_reused needs to be initialized to contain reused data from 'clean'
dirty bitmaps to ensure the first output line is correct.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/VZDump/QemuServer.pm