Re: [pve-devel] [PATCH container 2/2] Fix block stats bytes counter

2017-07-28 Thread Tobias Böhm
> Instead of setting the bytes count, sum it This way stats from all > devices are accumulated, instead of only stats from the last device in > the file are set. > > Signed-off-by: Tobias Böhm > --- > src/PVE/LXC.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sr

[pve-devel] [PATCH container 2/2] Fix block stats bytes counter

2017-07-26 Thread Tobias Böhm
Instead of setting the bytes count, sum it This way stats from all devices are accumulated, instead of only stats from the last device in the file are set. Signed-off-by: Tobias Böhm --- src/PVE/LXC.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PVE/LXC.pm b/src/P