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

Re: [Xen-devel] [PATCH][RFC] open HVM backing storage with O_SYNC


  • To: "Rik van Riel" <riel@xxxxxxxxxx>
  • From: "Christian Limpach" <christian.limpach@xxxxxxxxx>
  • Date: Fri, 4 Aug 2006 10:29:44 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 04 Aug 2006 02:30:41 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oT0x4dH2EiAC/hE+FO2+1utFGYg36Cx7pcnDLubVf4HB4smUCxXmjhoQ1Vo3nBO2cEstFB1Bc4Ye6Rt7h5NAECfiiOdh7+aRljpPaN8KhvNsZ5dSmkKsX864wLLmGHfHbafTnf4J/pHPMqYdi5V2cdiw8sMW77z9BWPPwyjrsoE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 7/28/06, Rik van Riel <riel@xxxxxxxxxx> wrote:
I noticed that the new qemu-dm code has DMA_MULTI_THREAD defined, so
I/O already overlaps with CPU run time of the guest domain.  This
means that we might as well open the backing storage with O_SYNC, so
writes done by the guest hit the disk when the guest expects them to,
and in the other the guest expects them to.

I am now running my postgresql HVM test domain (which has had its
database eaten a number of times by the async write behaviour) with
this patch, and will try to abuse it heavily over the next few days.

Any comments on this patch?

Applied, thanks!

    christian


--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.