Paolo Bonzini b952b5589a mirror: add support for on-source-error/on-target-error
Error management is important for mirroring; otherwise, an error on the
target (even something as "innocent" as ENOSPC) requires to start again
with a full copy.  Similar to on_read_error/on_write_error, two separate
knobs are provided for on_source_error (reads) and on_target_error (writes).
The default is 'report' for both.

The 'ignore' policy will leave the sector dirty, so that it will be
retried later.  Thus, it will not cause corruption.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-10-24 10:26:22 +02:00
..
2012-09-12 15:50:09 +02:00
2012-10-24 10:26:19 +02:00
2012-08-06 22:39:14 +02:00
2012-09-24 15:15:12 +02:00
2012-10-05 15:10:21 +02:00
2012-09-24 15:15:12 +02:00
2012-09-24 15:15:12 +02:00
2012-09-24 15:15:12 +02:00
2012-09-24 15:15:12 +02:00
2012-09-24 15:15:12 +02:00