WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Which disk backend to use in domU?

To: Neobiker <neo-ml-efw-1106@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Which disk backend to use in domU?
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 14 Jun 2010 11:49:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Delivery-date: Mon, 14 Jun 2010 03:50:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <28858517.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1382341628.4833695.1276117331660.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxx> <1742609046.4840453.1276126053830.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxx> <4C1025C0.2070808@xxxxxxxx> <28857720.post@xxxxxxxxxxxxxxx> <4C127584.6070801@xxxxxxxxxxxx> <4C12781A.7060603@xxxxxxxxxxxx> <28858517.post@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
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.

    J

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