Skip to content
  • Fam Zheng's avatar
    9ded4a01
    backup: Use copy offloading · 9ded4a01
    Fam Zheng authored
    
    
    The implementation is similar to the 'qemu-img convert'. In the
    beginning of the job, offloaded copy is attempted. If it fails, further
    I/O will go through the existing bounce buffer code path.
    
    Then, as Kevin pointed out, both this and qemu-img convert can benefit
    from a local check if one request fails because of, for example, the
    offset is beyond EOF, but another may well be accepted by the protocol
    layer. This will be implemented separately.
    
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarFam Zheng <famz@redhat.com>
    Message-id: 20180703023758.14422-4-famz@redhat.com
    Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
    9ded4a01
    backup: Use copy offloading
    Fam Zheng authored
    
    
    The implementation is similar to the 'qemu-img convert'. In the
    beginning of the job, offloaded copy is attempted. If it fails, further
    I/O will go through the existing bounce buffer code path.
    
    Then, as Kevin pointed out, both this and qemu-img convert can benefit
    from a local check if one request fails because of, for example, the
    offset is beyond EOF, but another may well be accepted by the protocol
    layer. This will be implemented separately.
    
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarFam Zheng <famz@redhat.com>
    Message-id: 20180703023758.14422-4-famz@redhat.com
    Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
Loading