aboutsummaryrefslogtreecommitdiff
path: root/block/nbd-client.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-04-29 12:08:40 +0300
committerMax Reitz <mreitz@redhat.com>2019-05-28 20:30:55 +0200
commit9eb5a248f3e50c1f034bc6ff4b2f25c8c56515a5 (patch)
tree381b2781f2903bda5ba6df9ee76b941dc3adaa75 /block/nbd-client.h
parenta8389e315ef71913ae99cf8f3b1f89e84631f599 (diff)
block/backup: refactor and tolerate unallocated cluster skipping
Split allocation checking to separate function and reduce nesting. Consider bdrv_is_allocated() fail as allocated area, as copying more than needed is not wrong (and we do it anyway) and seems better than fail the whole job. And, most probably we will fail on the next read, if there are real problem with source. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 20190429090842.57910-4-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/nbd-client.h')
0 files changed, 0 insertions, 0 deletions