[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] QEMU: change default disk cache behavior
From: |
Jes . Sorensen |
Subject: |
[Qemu-devel] [PATCH] QEMU: change default disk cache behavior |
Date: |
Thu, 20 May 2010 11:32:03 +0200 |
From: Jes Sorensen <address@hidden>
We seem to get into the discussion of what is the correct default
setting disk images in QEMU. The libvirt team is reluctant to change
specified for newly created images without the default setting
matching it, and everybody seems to agree that the current setting of
WT is the worse possible option.
'nocache' seems to be the preferred option, but it doesn't work for
all cases, like images on ramfs, NFS etc.
Therefore, here is a patch that does two things:
- default to "nocache"
- in case of failure with nocache, retry with "write-back"
Jes Sorensen (1):
QEMU: Change default disk caching to nocache
vl.c | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
- [Qemu-devel] [PATCH] QEMU: change default disk cache behavior,
Jes . Sorensen <=