]> Git Repo - qemu.git/commit - block/qed.c
block: Add PreallocMode to BD.bdrv_truncate()
authorMax Reitz <[email protected]>
Tue, 13 Jun 2017 20:20:52 +0000 (22:20 +0200)
committerMax Reitz <[email protected]>
Tue, 11 Jul 2017 15:45:01 +0000 (17:45 +0200)
commit8243ccb7433e59a3faa3cca27fb6c40d6da2b37c
tree18ab94c4ea476c161f7c579c30e9203abb96afbc
parent32a1681adc44f52e7c8a19408cd3be8452a0897b
block: Add PreallocMode to BD.bdrv_truncate()

Add a PreallocMode parameter to the bdrv_truncate() function implemented
by each block driver. Currently, we always pass PREALLOC_MODE_OFF and no
driver accepts anything else.

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 20170613202107[email protected]
Signed-off-by: Max Reitz <[email protected]>
14 files changed:
block.c
block/blkdebug.c
block/crypto.c
block/file-posix.c
block/file-win32.c
block/gluster.c
block/iscsi.c
block/nfs.c
block/qcow2.c
block/qed.c
block/raw-format.c
block/rbd.c
block/sheepdog.c
include/block/block_int.h
This page took 0.029682 seconds and 4 git commands to generate.