xemu/tests/qemu-iotests/256.out
John Snow 0fff1f1371 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>
2019-08-16 16:28:03 -04:00

120 lines
2.7 KiB
Plaintext

--- Preparing images & VM ---
--- Starting VM ---
--- Create Targets & Full Backups ---
{}
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
{"return": {}}
{}
{
"execute": "transaction",
"arguments": {
"actions": [
{
"data": {
"name": "bitmap0",
"node": "drive0"
},
"type": "block-dirty-bitmap-add"
},
{
"data": {
"name": "bitmap1",
"node": "drive1"
},
"type": "block-dirty-bitmap-add"
},
{
"data": {
"device": "drive0",
"job-id": "j0",
"sync": "full",
"target": "img0-full"
},
"type": "blockdev-backup"
},
{
"data": {
"device": "drive1",
"job-id": "j1",
"sync": "full",
"target": "img1-full"
},
"type": "blockdev-backup"
}
]
}
}
{
"return": {}
}
{"data": {"device": "j0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
{"data": {"device": "j1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
--- Create Targets & Incremental Backups ---
{}
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
{"return": {}}
{}
{}
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
{"return": {}}
{}
{
"execute": "transaction",
"arguments": {
"actions": [
{
"data": {
"bitmap": "bitmap0",
"device": "drive0",
"job-id": "j2",
"sync": "incremental",
"target": "img0-incr"
},
"type": "blockdev-backup"
},
{
"data": {
"bitmap": "bitmap1",
"device": "drive1",
"job-id": "j3",
"sync": "incremental",
"target": "img1-incr"
},
"type": "blockdev-backup"
}
]
}
}
{
"return": {}
}
{"data": {"device": "j2", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
{"data": {"device": "j3", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
--- Done ---