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

RE: [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

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.


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.
Xen-devel mailing list



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