qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: Jeff Cody <jcody@redhat.com>, Kevin Wolf <kwolf@redhat.com>,
	Max Reitz <mreitz@redhat.com>,
	qemu-block@nongnu.org
Subject: [Qemu-devel] [PATCH 0/3] block: Fix drive-mirror with image size unaligned with granularity
Date: Tue, 19 Apr 2016 18:09:06 +0800	[thread overview]
Message-ID: <1461060549-8667-1-git-send-email-famz@redhat.com> (raw)

This fixes the bug introduced in e5b43573e28 and lately noticed by Kevin.

Fam Zheng (3):
  mirror: Don't extend the last sub-chunk
  iotests: Add iotests.image_size
  iotests: Test case for drive-mirror with unaligned image size

 block/mirror.c                | 10 +++++++++
 tests/qemu-iotests/109.out    | 44 ++++++++++++++++++-------------------
 tests/qemu-iotests/152        | 51 +++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/152.out    |  5 +++++
 tests/qemu-iotests/group      |  1 +
 tests/qemu-iotests/iotests.py |  6 +++++
 6 files changed, 95 insertions(+), 22 deletions(-)
 create mode 100644 tests/qemu-iotests/152
 create mode 100644 tests/qemu-iotests/152.out

-- 
2.8.0

             reply	other threads:[~2016-04-19 10:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 10:09 Fam Zheng [this message]
2016-04-19 10:09 ` [Qemu-devel] [PATCH 1/3] mirror: Don't extend the last sub-chunk Fam Zheng
2016-04-19 20:33   ` Max Reitz
2016-04-20  1:13     ` Fam Zheng
2016-04-19 10:09 ` [Qemu-devel] [PATCH 2/3] iotests: Add iotests.image_size Fam Zheng
2016-04-19 20:56   ` Max Reitz
2016-04-19 10:09 ` [Qemu-devel] [PATCH 3/3] iotests: Test case for drive-mirror with unaligned image size Fam Zheng
2016-04-19 21:00   ` 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=1461060549-8667-1-git-send-email-famz@redhat.com \
    --to=famz@redhat.com \
    --cc=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --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).