qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com, qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH for-2.10 0/2] Bug fixes from byte-based block status
Date: Mon, 24 Jul 2017 11:28:22 +0200	[thread overview]
Message-ID: <20170724092822.GC4630@noname.str.redhat.com> (raw)
In-Reply-To: <20170721183243.22706-1-eblake@redhat.com>

Am 21.07.2017 um 20:32 hat Eric Blake geschrieben:
> Series 2-4 of my byte-based conversion missed soft freeze, so they
> are now 2.11 material.  However, there are some bug fixes in those
> series that we should fix now in 2.10 (patch 1 from series two
> on dirty bitmaps, patch 2 extracted from "qcow2: Switch qcow2_measure()
> to byte-based iteration" from series three on block status).

Thanks, applied to the block branch.

> I don't know if it is worth enhancing iotest 178 to probe the size
> of a 2T image.  The test is simple, and fast when patched:
> 
> $ qemu-img create -f qcow2 -o cluster_size=2M huge 2T
> $ time ./qemu-img measure -O qcow2 -f qcow2 huge
> required size: 335806464
> fully allocated size: 2199359062016
> 
> real	0m0.021s
> user	0m0.017s
> sys	0m0.004s
> 
> but the inf-loop when unpatched is annoying; meanwhile, 'huge' only
> occupies 6 megabytes on disk, so it's not that invasive.

Yes, please follow up with qemu-iotests cases for both bugs. We're only
adding the test after fixing the bug, so a hang in the buggy old code
isn't a problem.

Kevin

  parent reply	other threads:[~2017-07-24  9:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21 18:32 [Qemu-devel] [PATCH for-2.10 0/2] Bug fixes from byte-based block status Eric Blake
2017-07-21 18:32 ` [Qemu-devel] [PATCH 1/2] dirty-bitmap: Report BlockDirtyInfo.count in bytes, as documented Eric Blake
2017-07-25 21:28   ` John Snow
2017-07-25 21:37     ` Eric Blake
2017-07-26 18:49       ` John Snow
2017-07-21 18:32 ` [Qemu-devel] [PATCH 2/2] qcow2: Fix sector calculation in qcow2_measure() Eric Blake
2017-07-24  9:28 ` Kevin Wolf [this message]
2017-07-24 15:53   ` [Qemu-devel] [PATCH for-2.10 0/2] Bug fixes from byte-based block status Eric Blake
2017-07-24 11:29 ` Stefan Hajnoczi
2017-07-24 12:05 ` Eric Blake
2017-07-24 12:06   ` Eric Blake

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=20170724092822.GC4630@noname.str.redhat.com \
    --to=kwolf@redhat.com \
    --cc=eblake@redhat.com \
    --cc=qemu-block@nongnu.org \
    --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 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).