qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] QEMU: change default disk cache behavior
@ 2010-05-20  9:32 Jes.Sorensen
  2010-05-20  9:32 ` [Qemu-devel] [PATCH] QEMU: Change default disk caching to nocache Jes.Sorensen
  2010-05-20 12:30 ` [Qemu-devel] [PATCH] QEMU: change default disk cache behavior Anthony Liguori
  0 siblings, 2 replies; 10+ messages in thread
From: Jes.Sorensen @ 2010-05-20  9:32 UTC (permalink / raw)
  To: aliguori; +Cc: hch, Jes Sorensen, qemu-devel, crobinso

From: Jes Sorensen <Jes.Sorensen@redhat.com>

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(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-20 18:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20  9:32 [Qemu-devel] [PATCH] QEMU: change default disk cache behavior Jes.Sorensen
2010-05-20  9:32 ` [Qemu-devel] [PATCH] QEMU: Change default disk caching to nocache Jes.Sorensen
2010-05-20 15:24   ` [Qemu-devel] " Paolo Bonzini
2010-05-20 18:56     ` Anthony Liguori
2010-05-20 12:30 ` [Qemu-devel] [PATCH] QEMU: change default disk cache behavior Anthony Liguori
2010-05-20 13:36   ` Jes Sorensen
2010-05-20 13:40     ` Anthony Liguori
2010-05-20 13:49       ` Jes Sorensen
2010-05-20 14:05         ` Stefan Hajnoczi
2010-05-20 18:58         ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).