From: Daniel Stodden Subject: Re: Which disk backend to use in domU? Date: Mon, 14 Jun 2010 03:57:19 -0700 Message-ID: <1276513039.4191.6595.camel@ramone.somacoma.net> References: <1382341628.4833695.1276117331660.JavaMail.root@vms170009.mailsrvcs.net> <1742609046.4840453.1276126053830.JavaMail.root@vms170009.mailsrvcs.net> <4C1025C0.2070808@goop.org> <28857720.post@talk.nabble.com> <4C127584.6070801@dataproof.fi> <4C12781A.7060603@dataproof.fi> <28858517.post@talk.nabble.com> <4C160949.7050007@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C160949.7050007@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Neobiker , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2010-06-14 at 06:49 -0400, Jeremy Fitzhardinge wrote: > On 06/11/2010 07:11 PM, Neobiker wrote: > > Hi > > > > Valtteri Kiviniemi-2 wrote: > > > >> Hi, Ah, misunderstanding sorry, you were talking about disk images :) > >> > >> > > I'm talking about this config: > > disk = [ > > 'phy:/dev/vm/vm01,xvda1,w', > > 'phy:/dev/vm/vm01-swap,xvda2,w', > > 'phy:/dev/daten/devel_debian_amd64,xvda3,w', > > ] > > > > file: is definitely unsafe; its IO gets buffered in the dom0 pagecache, > which means the guests writes aren't really writes. I believe phy: has > similar problems, whereas tap:aio: implemented direct IO. But someone > more storagey can confirm. Unless there's a difference in type names between XCP and .org, 'phy' means a bare LUN plugged into blkback? Those run underneath the entire block cache subsystems, which ironically has caching issues of it's own. But your writes are safe. Daniel