[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH for-2.10 03/16] block: Add PreallocMode to blk_t
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH for-2.10 03/16] block: Add PreallocMode to blk_truncate() |
Date: |
Mon, 20 Mar 2017 10:33:20 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Mon, Mar 13, 2017 at 10:40:32PM +0100, Max Reitz wrote:
> blk_truncate() itself will pass that value to bdrv_truncate(), and all
> callers of blk_truncate() just set the parameter to PREALLOC_MODE_OFF
> for now.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> include/sysemu/block-backend.h | 3 ++-
> block/block-backend.c | 5 +++--
> block/commit.c | 4 ++--
> block/mirror.c | 3 ++-
> block/parallels.c | 2 +-
> block/qcow.c | 2 +-
> block/qcow2.c | 4 ++--
> block/qed.c | 2 +-
> block/vdi.c | 3 ++-
> block/vhdx.c | 5 +++--
> block/vmdk.c | 7 ++++---
> block/vpc.c | 2 +-
> blockdev.c | 2 +-
> qemu-img.c | 2 +-
> qemu-io-cmds.c | 2 +-
> 15 files changed, 27 insertions(+), 21 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
[Qemu-block] [PATCH for-2.10 02/16] block: Add PreallocMode to bdrv_truncate(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 03/16] block: Add PreallocMode to blk_truncate(), Max Reitz, 2017/03/13
- Re: [Qemu-block] [PATCH for-2.10 03/16] block: Add PreallocMode to blk_truncate(),
Stefan Hajnoczi <=
[Qemu-block] [PATCH for-2.10 04/16] qemu-img: Expose PreallocMode for resizing, Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 05/16] block/file-posix: Small fixes in raw_create(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 06/16] block/file-posix: Extract raw_regular_truncate(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 07/16] block/file-posix: Generalize raw_regular_truncate, Max Reitz, 2017/03/13