diff options
author | Max Reitz <mreitz@redhat.com> | 2013-11-13 20:37:58 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-11-28 11:39:31 +0100 |
commit | f4a193e717e6b5179a2e57423bfe110b724662d8 (patch) | |
tree | eee9919b69c91f27618531e602d0b45aa6ffbf76 /include/block/block.h | |
parent | 8582972227196c289bb3b28086b3b2d01071d958 (diff) |
block/stream: Don't stream unbacked devices
If a block device is unbacked, a streaming blockjob should immediately
finish instead of beginning to try to stream, then noticing the backing
file does not contain even the first sector (since it does not exist)
and then finishing normally.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block.h')
0 files changed, 0 insertions, 0 deletions