qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Frank Arnold <frank.arnold@amd.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org, Christoph Hellwig <hch@lst.de>
Subject: Re: [Qemu-devel] EXT3-fs error on Git HEAD
Date: Tue, 30 Jun 2009 15:32:36 +0200	[thread overview]
Message-ID: <1246368756.15765.8.camel@mendozza.osrc.amd.com> (raw)
In-Reply-To: <4A49D5E2.4070705@redhat.com>

Am Dienstag, den 30.06.2009, 11:07 +0200 schrieb Kevin Wolf:
> Frank Arnold schrieb:
> > commit ad53089b0d0b4bc0731d978e5713365e1a91ba74
> > Author: Christoph Hellwig <hch@lst.de>
> > Date:   Mon May 25 15:45:37 2009 +0200
> > 
> >     qcow: add qcow_aio_setup helper
> 
> This one has an obvious bug. Does the following change help?
> 
> diff --git a/block/qcow.c b/block/qcow.c
> index 55a68a6..7fc85ae 100644
> --- a/block/qcow.c
> +++ b/block/qcow.c
> @@ -723,7 +723,7 @@ static BlockDriverAIOCB
> *qcow_aio_writev(BlockDriverState *bs,
> 
>      s->cluster_cache_offset = -1; /* disable compressed cache */
> 
> -    acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 0);
> +    acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 1);
>      if (!acb)
>          return NULL;

Yes, this change seems to fix it. The guest survived 3 hours of stress
testing and the image was still intact.
Tested on top of kvm-87-71-g6179556 (qemu-kvm.git).

Thanks for looking into it.
-- 
Frank Arnold <frank.arnold@amd.com>
System Design Technician, Software Test
AMD Operating System Research Center
Dresden, Germany
Tel: +49 351 448 356702


Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München
Registergericht München, HRB Nr. 43632

  reply	other threads:[~2009-06-30 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-28 23:50 [Qemu-devel] EXT3-fs error on Git HEAD Erik de Castro Lopo
2009-06-29  3:42 ` Erik de Castro Lopo
2009-06-29  6:42   ` Filip Navara
2009-06-29 16:27   ` Frank Arnold
2009-06-30  9:07     ` Kevin Wolf
2009-06-30 13:32       ` Frank Arnold [this message]
2009-07-10 12:34       ` Andre Przywara

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=1246368756.15765.8.camel@mendozza.osrc.amd.com \
    --to=frank.arnold@amd.com \
    --cc=hch@lst.de \
    --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).