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-users

RE: [Xen-users] AoE (Was: iscsi vs nfs for xen VMs)

To: "Simon Hobson" <linux@xxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] AoE (Was: iscsi vs nfs for xen VMs)
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2011 20:57:59 +1100
Cc:
Delivery-date: Fri, 28 Jan 2011 02:00:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240878c9683195228f@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <994429490908070648s69eed40eua19efc43c3eb85a7@xxxxxxxxxxxxxx><4D3FF9BC.40601@xxxxxxxxxxx><sig.4007da378a.AANLkTiku=-RhcyUZVHmwnJ18+Az6Fk5CxdEjKdHQKJ54@xxxxxxxxxxxxxx><4D4032C7.9000003@xxxxxxxxxxx><AANLkTin+K5G10_03qLRT_yqCRELu339roLEHy1bVFoqR@xxxxxxxxxxxxxx><4D4064CD.8010005@xxxxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D01BB9292@trantor><20110127083537.GD29664@xxxxxxxx><p06240870c96746abba41@xxxxxxxxxxxxxxxxxxxxxx><4D41B491.70205@xxxxxxxxxxx><p06240873c96771544086@xxxxxxxxxxxxxxxxxxxxxx><64D0546C5EBBD147B75DE133D798665F0855BF03@xxxxxxxxxxxxxxxxx> <p06240878c9683195228f@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acu+yL0iAuOoz3cgRquErnnwWBFMJwACEY5g
Thread-topic: [Xen-users] AoE (Was: iscsi vs nfs for xen VMs)
> James Harper wrote:
> 
> > I use DRBD locally and used to regularly see messages about
concurrent
> > outstanding requests to the same sector. DRBD logs this because it
can't
> > guarantee the serialising of requests so two write requests to the
same
> > sector might be reordered at any layer different between the two
> > servers. It sounds like AoE would make this even worse if the
'first'
> > write was lost resulting in the 'second' write being performed first
> > followed by the 'first' write.
> 
> Bear in mind that with modern disks it is normal for them to have
> command queuing and reordering built in. So unless you specifically
> turn it off, your carefully ordered writes may be re-ordered by teh
> drive itself.
> 

That's why barriers were invented. I don't see how AoE could possibly
support that if it just processes requests in the order it receives
them, eg if the command sequence went:

Write1
Write2 w/barrier
Write3

If Write2 was lost by the network and AoE just writes the writes as it
receives them then we have a problem. It must implement some sort of
sequencing and ordering or data loss is inevitable unless you can
guarantee that nothing ever crashes or fails (in which case why are you
using RAID, journaling filesystems, etc).

James


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