On Mon, Mar 13, 2017 at 10:40:18PM +0100, Max Reitz wrote: > For block drivers that just pass a truncate request to the underlying > protocol, we can now pass the preallocation mode instead of aborting if > it is not PREALLOC_MODE_OFF. > > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > include/block/block.h | 3 ++- > block.c | 12 +++++++++--- > block/blkdebug.c | 8 +------- > block/block-backend.c | 2 +- > block/crypto.c | 8 +------- > block/parallels.c | 11 +++++++---- > block/qcow.c | 6 ++++-- > block/qcow2-refcount.c | 2 +- > block/qcow2.c | 4 ++-- > block/raw-format.c | 8 +------- > block/vhdx-log.c | 2 +- > block/vhdx.c | 3 ++- > 12 files changed, 32 insertions(+), 37 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature