]> git.ipfire.org Git - thirdparty/qemu.git/commit
gluster: Add preallocated truncation
authorMax Reitz <mreitz@redhat.com>
Tue, 13 Feb 2018 13:03:53 +0000 (14:03 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 13 Feb 2018 15:18:35 +0000 (16:18 +0100)
commitc3132aff174ea35dd78bc8828fd79c28f9bc9a65
tree7b727f18bf30f3189cbed22c00a6fa21ecb55d7c
parentf3a33f795cc7a3372d2372480d34f6b95a3b09b6
gluster: Add preallocated truncation

By using qemu_do_cluster_truncate() in qemu_cluster_truncate(), we now
automatically have preallocated truncation.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/gluster.c