qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Subject: [Qemu-devel] [PATCH v4 0/4] qemu-img: fix bugs when cluster size is larger than the default value
Date: Thu, 23 Jan 2014 11:04:04 +0800	[thread overview]
Message-ID: <cover.1390445921.git.hutao@cn.fujitsu.com> (raw)

This series fixes several bugs of qcow2 when doing preallocation with a
cluster_size larger than the default value.

v4:
  - qemu-iotests: use _filter_testdir directly.
  - remove n_end in qcow2_co_writev() that is never used.

Hu Tao (4):
  qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset()
  qcow2: fix offset overflow in qcow2_alloc_clusters_at()
  qcow2: check for NULL l2meta
  qemu-iotests: add test for qcow2 preallocation with different cluster
    sizes

 block/qcow2-cluster.c      | 14 +++++------
 block/qcow2-refcount.c     |  8 +++++-
 block/qcow2.c              | 36 +++++++++++++-------------
 block/qcow2.h              |  2 +-
 tests/qemu-iotests/079     | 63 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/079.out | 32 +++++++++++++++++++++++
 tests/qemu-iotests/group   |  1 +
 trace-events               |  2 +-
 8 files changed, 128 insertions(+), 30 deletions(-)
 create mode 100755 tests/qemu-iotests/079
 create mode 100644 tests/qemu-iotests/079.out

-- 
1.8.5.2.229.g4448466

             reply	other threads:[~2014-01-23  3:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  3:04 Hu Tao [this message]
2014-01-23  3:04 ` [Qemu-devel] [PATCH v4 1/4] qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset() Hu Tao
2014-01-23 14:29   ` Kevin Wolf
2014-01-24  9:17     ` Hu Tao
2014-01-23 17:02   ` Benoît Canet
2014-01-24  9:32     ` Hu Tao
2014-01-24 15:23       ` Benoît Canet
2014-01-23  3:04 ` [Qemu-devel] [PATCH v4 2/4] qcow2: fix offset overflow in qcow2_alloc_clusters_at() Hu Tao
2014-01-23 17:13   ` Benoît Canet
2014-01-24 10:01     ` Hu Tao
2014-01-24 15:22       ` Benoît Canet
2014-01-23  3:04 ` [Qemu-devel] [PATCH v4 3/4] qcow2: check for NULL l2meta Hu Tao
2014-01-23 17:20   ` Benoît Canet
2014-01-23  3:04 ` [Qemu-devel] [PATCH v4 4/4] qemu-iotests: add test for qcow2 preallocation with different cluster sizes Hu Tao
2014-01-24 15:04   ` Max Reitz

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.1390445921.git.hutao@cn.fujitsu.com \
    --to=hutao@cn.fujitsu.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).