block/backup: improve sync=bitmap work estimates
commit0fff1f13718a80c12a26dfaee17bdeb45ce51459
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:55 +0000 (29 16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:03 +0000 (16 16:28 -0400)
treece6e35567e9ee56eccde7b75419bd968a8b6394f
parent352092d3828adb67b28d30588e3c4635234e2113
block/backup: improve sync=bitmap work estimates

When making backups based on bitmaps, the work estimate can be more
accurate. Update iotests to reflect the new strategy.

TOP work estimates are broken, but do not get worse with this commit.
That issue is addressed in the following commits instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190716000117.25219-7-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
block/backup.c
tests/qemu-iotests/256.out
tests/qemu-iotests/257.out