qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v4 0/4] qemu-img: add preallocation=full


From: Hu Tao
Subject: [Qemu-devel] [RFC PATCH v4 0/4] qemu-img: add preallocation=full
Date: Fri, 27 Dec 2013 11:05:50 +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.

v4:  - remove bdrv_preallocate and make preallocation a bdrv_create_file option
     - prealloc_mode -> PreallocMode and add it to QAPI
     - fix return value in raw_preallocate2

Hu Tao (4):
  qapi: introduce PreallocMode
  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     | 64 +++++++++++++++++++++++++++++++++++++++++++++----------
 block/raw-posix.c | 50 +++++++++++++++++++++++++++++++++++++++++--
 qapi-schema.json  | 12 +++++++++++
 3 files changed, 113 insertions(+), 13 deletions(-)

-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]