[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 0/4] qemu-img: add preallocation=full
From: |
Hu Tao |
Subject: |
[Qemu-devel] [PATCH v6 0/4] qemu-img: add preallocation=full |
Date: |
Fri, 28 Feb 2014 10:29:29 +0800 |
This series implements full image preallocation to create a non-sparse image
file at creation time, both for raw and qcow2 format. The purpose is to avoid
performance deterioration of the guest cause by sparse image.
v6:
- add `Since 2.0' to PreallocMode
- apply total_size change to raw-win32.c as well
Hu Tao (4):
qapi: introduce PreallocMode and a new PreallocMode full.
raw, qcow2: don't convert file size to sector size
raw-posix: Add full image preallocation option
qcow2: Add full image preallocation option
block/qcow2.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++-------
block/raw-posix.c | 45 +++++++++++++++++++++------
block/raw-win32.c | 4 +--
qapi-schema.json | 14 +++++++++
4 files changed, 132 insertions(+), 22 deletions(-)
--
1.8.0
- [Qemu-devel] [PATCH v6 0/4] qemu-img: add preallocation=full,
Hu Tao <=