From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH v8 0/4] qemu-img: add preallocation=full
Date: Wed, 9 Apr 2014 15:12:33 +0800 [thread overview]
Message-ID: <cover.1397026795.git.hutao@cn.fujitsu.com> (raw)
The purpose of this series is to use posix_fallocate() when creating
img file to ensure there are disk space for it which is way fast than
acturally writing to disk. But this only works in file system level.
For cases like thin provisioning, an option full preallocation is
added to write zeros to storage to ensure disk space.
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 | 95 ++++++++++++++++++++++++++++++++++++++++------
block/raw-posix.c | 63 ++++++++++++++++++++++++++----
block/raw-win32.c | 4 +-
qapi-schema.json | 14 +++++++
tests/qemu-iotests/082.out | 54 +++++++++++++-------------
5 files changed, 182 insertions(+), 48 deletions(-)
--
1.8.5.2.229.g4448466
next reply other threads:[~2014-04-09 7:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 7:12 Hu Tao [this message]
2014-04-09 7:12 ` [Qemu-devel] [PATCH v8 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
2014-04-09 17:04 ` Eric Blake
2014-04-09 7:12 ` [Qemu-devel] [PATCH v8 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2014-04-09 7:12 ` [Qemu-devel] [PATCH v8 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-04-09 7:12 ` [Qemu-devel] [PATCH v8 4/4] qcow2: " Hu Tao
2014-05-06 12:19 ` [Qemu-devel] [PATCH v8 0/4] qemu-img: add preallocation=full Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1397026795.git.hutao@cn.fujitsu.com \
--to=hutao@cn.fujitsu.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.