aboutsummaryrefslogtreecommitdiff
path: root/storage-daemon
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2020-04-28 15:29:03 -0500
committerKevin Wolf <kwolf@redhat.com>2020-05-08 13:26:35 +0200
commitbda4cdcbb997d34762e2af27e1f475357a9b4453 (patch)
treeb594654388c54a5d67dd58686702cbd5e8be6246 /storage-daemon
parentbe9c9404db7e6992946fa55c75ca61dfb20926eb (diff)
parallels: Rework truncation logic
The parallels driver tries to use truncation for image growth, but can only do so when reads are guaranteed as zero. Now that we have a way to request zero contents from truncation, we can defer the decision to actual allocation attempts rather than up front, reducing the number of places that still use bdrv_has_zero_init_truncate. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20200428202905.770727-8-eblake@redhat.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'storage-daemon')
0 files changed, 0 insertions, 0 deletions