All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Martin <amartin@xes-inc.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Using cache=writeback safely on qemu 1.4.0 and later
Date: Wed, 27 Aug 2014 09:23:45 -0500 (CDT)	[thread overview]
Message-ID: <731385877.87249.1409149425950.JavaMail.zimbra@xes-inc.com> (raw)
In-Reply-To: <53FC3136.50900@redhat.com>

----- Original Message -----
> From: "Paolo Bonzini" <pbonzini@redhat.com>
> To: "Andrew Martin" <amartin@xes-inc.com>, "Stefan Hajnoczi" <stefanha@gmail.com>
> Cc: "qemu-devel" <qemu-devel@nongnu.org>
> Sent: Tuesday, August 26, 2014 2:03:18 AM
> Subject: Re: Using cache=writeback safely on qemu 1.4.0 and later
> 
> > In the case of the files uploaded by apache2, they were added to the server
> > days
> > before  the power outage, so it seems like there would have been ample time
> > for
> > those changes to have been flushed.
> 
> Remember that cache=writeback has a huge cache, whose size is several
> gigabytes.
> 
> At some point there was a QEMU bug that caused the guest not to do
> fsyncs.  It was fixed by commit ef5bc96268.

Paolo,

Thanks for the info about this bug - I am using QEMU 1.4.0 (released on 02/15/13)
and ef5bc96268 was added on 09/20/13, so the bug had not been fixed in the version
of QEMU I am using. I have had trouble reproducing it on-demand - was there specific
behavior you used to reproduce it, or just the lack of fsyncs or fdatasyncs when
stracing the QEMU process when using cache=writeback?

Thanks,

Andrew

  reply	other threads:[~2014-08-27 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1009168463.49610.1408133034828.JavaMail.zimbra@xes-inc.com>
2014-08-15 20:18 ` [Qemu-devel] Using cache=writeback safely on qemu 1.4.0 and later Andrew Martin
2014-08-19 14:59   ` Stefan Hajnoczi
2014-08-19 23:20     ` Andrew Martin
2014-08-21 12:59       ` Stefan Hajnoczi
2014-08-25 18:13         ` Andrew Martin
2014-08-26  7:03           ` Paolo Bonzini
2014-08-27 14:23             ` Andrew Martin [this message]
2014-08-27 14:34               ` Paolo Bonzini
2014-08-27 18:46                 ` Andrew Martin
2014-08-27 20:47                   ` Paolo Bonzini
2014-08-28 10:22           ` 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=731385877.87249.1409149425950.JavaMail.zimbra@xes-inc.com \
    --to=amartin@xes-inc.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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.