Commit Graph

1 Commits

Author SHA1 Message Date
Dietmar Maurer
1d0c6dfc96 add basic backup support to block driver
Function backup_job_create() creates a block job to backup a block device.
The coroutine is started with backup_job_start().

We call backup_do_cow() for each write during backup. That function
reads the original data and pass it to backup_dump_cb().

The tracked_request infrastructure is used to serialize access.

Currently backup cluster size is hardcoded to 65536 bytes.
2013-02-21 12:16:37 +01:00