qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] Serious bugs in the handling of writeback cachi


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 0/2] Serious bugs in the handling of writeback caching
Date: Thu, 19 Sep 2013 18:48:52 +0200

The first bug is simply that in 1.6.0 the default was changed by mistake
to cache=unsafe.  This affects all block drivers.  It is fixed in the
first patch.

The second is that Linux guests that support the CONFIG_WCE option were
mistaken into thinking that caching was writethrough, and thus did not
send any flush.  The bug is in QEMU, and is fixed by the second patch.

Paolo Bonzini (2):
  blockdev: do not default cache.no-flush to true
  virtio-blk: do not relay a previous driver's WCE configuration to the
    current

 blockdev.c                     | 2 +-
 hw/block/virtio-blk.c          | 8 ++++++--
 include/hw/virtio/virtio-blk.h | 1 +
 3 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]