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] AFS-based VBD backend

To: "Steve Traugott" <stevegt@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] AFS-based VBD backend
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 23 Dec 2004 11:41:08 -0000
Delivery-date: Thu, 23 Dec 2004 11:44:31 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcTo1HORmrMhYbsFShmcKur4fx72igADzlHg
Thread-topic: [Xen-devel] AFS-based VBD backend
> I think most of this could be done in python -- the backend 
> driver itself might be a relatively thin layer to translate 
> block addressing to and from file byte locations, talk to the 
> frontend, and do a periodic
> fsync() on the underlying file to write the changes back to 
> the AFS server.  

You don't want to do it in python, but you do want to do it in user
space to avoid the deadlocks with AFS.

The blocktap backend driver is what you want. I'm not sure of it's
current state, but the plan is to enable you to terminate a blk device
channel in user-space.

A future revision of blocktap could use kiovec's to avoid having to copy
data into user space, and thus would give good performance.

The kernel loop driver works fine with most file systems, but AFS is
very 'special' and doesn't really follow the design of the other file
systems.

Of course, you could use 'unfsd -r' and export your AFS root file
systems via same-machine NFS. This works pretty well, but I can't say
I've hammered it.

Ian
 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel