Serious bugs in the handling of writeback caching
Status from this message: Thanks, applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blockdev: do not default cache.no-flush to trueblockdev.c | +1 | 1 reply | |
| 2/2 | virtio-blk: do not relay a previous driver's WCE configuration to the currenthw/ include/ | +8 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] Serious bugs in the handling of writeback caching
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(-)
Signature · 1 line
1.8.3.1