Searched hist:b952b558 (Results 1 – 2 of 2) sorted by relevance
/qemu/block/ |
H A D | mirror.c | b952b558 Thu Oct 18 14:49:28 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> 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>
|
/qemu/ |
H A D | blockdev.c | b952b558 Thu Oct 18 14:49:28 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> 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>
|