All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] ide: Handle bdrv_aio_flush errors
Date: Tue, 19 Oct 2010 17:08:50 +0200	[thread overview]
Message-ID: <1287500932-7366-1-git-send-email-kwolf@redhat.com> (raw)

Until now, errors returned by bdrv_aio_flush were silently ignored, so that
from a guest point of view, FLUSH would never fail even if the data hasn't made
it to the host disk.

This applies the werror option also to flushes, so that by default errors are
reported back to the guest, and qemu can be configured to stop the VM instead.

Kevin Wolf (2):
  ide: Factor ide_flush_cache out
  ide: Handle flush failure

 hw/ide/core.c     |   24 +++++++++++++++++++-----
 hw/ide/internal.h |    3 ++-
 2 files changed, 21 insertions(+), 6 deletions(-)

-- 
1.7.2.3

             reply	other threads:[~2010-10-19 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 15:08 Kevin Wolf [this message]
2010-10-19 15:08 ` [Qemu-devel] [PATCH 1/2] ide: Factor ide_flush_cache out Kevin Wolf
2010-10-21  5:21   ` Christoph Hellwig
2010-10-19 15:08 ` [Qemu-devel] [PATCH 2/2] ide: Handle flush failure Kevin Wolf
2010-10-21  5:21   ` Christoph Hellwig

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=1287500932-7366-1-git-send-email-kwolf@redhat.com \
    --to=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 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.