Skip to content
  • Paolo Bonzini's avatar
    b952b558
    mirror: add support for on-source-error/on-target-error · b952b558
    Paolo Bonzini authored
    
    
    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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    b952b558
    mirror: add support for on-source-error/on-target-error
    Paolo Bonzini authored
    
    
    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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading