[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 37/38] blockdev: do not default cache.no-flush to t
From: |
Michael Roth |
Subject: |
[Qemu-stable] [PATCH 37/38] blockdev: do not default cache.no-flush to true |
Date: |
Wed, 25 Sep 2013 07:58:05 -0500 |
From: Paolo Bonzini <address@hidden>
That's why all my VMs were so fast lately. :)
This changed in 1.6.0 by mistake in patch 29c4e2b (blockdev: Split up
'cache' option, 2013-07-18).
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
(cherry picked from commit 1df6fa4bc6754a170cf511a78e2e6fef84eb5228)
Signed-off-by: Michael Roth <address@hidden>
---
blockdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blockdev.c b/blockdev.c
index bc7016a..097932c 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -460,7 +460,7 @@ static DriveInfo *blockdev_init(QemuOpts *all_opts,
if (qemu_opt_get_bool(opts, "cache.direct", false)) {
bdrv_flags |= BDRV_O_NOCACHE;
}
- if (qemu_opt_get_bool(opts, "cache.no-flush", true)) {
+ if (qemu_opt_get_bool(opts, "cache.no-flush", false)) {
bdrv_flags |= BDRV_O_NO_FLUSH;
}
--
1.7.9.5
- [Qemu-stable] [PATCH 25/38] ne2000: mark I/O as LITTLE_ENDIAN, (continued)
- [Qemu-stable] [PATCH 25/38] ne2000: mark I/O as LITTLE_ENDIAN, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 31/38] pcnet-pci: mark I/O and MMIO as LITTLE_ENDIAN, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 30/38] qapi-types.py: Fix enum struct sizes on i686, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 36/38] tci: Fix qemu-alpha on 32 bit hosts (wrong assertions), Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 34/38] kvmvapic: Enter inactive state on hardware reset, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 29/38] pc_q35: Initialize Xen., Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 33/38] kvmvapic: Catch invalid ROM size, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 35/38] kvmvapic: Clear also physical ROM address when entering INACTIVE state, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 32/38] chardev: fix pty_chr_timer, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 38/38] virtio-blk: do not relay a previous driver's WCE configuration to the current, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 37/38] blockdev: do not default cache.no-flush to true,
Michael Roth <=
- [Qemu-stable] [PATCH 26/38] ehci: save device pointer in EHCIState, Michael Roth, 2013/09/25
- [Qemu-stable] [PATCH 27/38] qxl: fix local renderer, Michael Roth, 2013/09/25
- Re: [Qemu-stable] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Cole Robinson, 2013/09/25
- Re: [Qemu-stable] [Qemu-devel] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Stefan Weil, 2013/09/26
- Re: [Qemu-stable] [Qemu-devel] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Fam Zheng, 2013/09/26
- Re: [Qemu-stable] [Qemu-devel] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Stefan Weil, 2013/09/26
- Re: [Qemu-stable] Patch Round-up for stable 1.6.1, freeze on 2013-09-30, Michael Tokarev, 2013/09/27