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] Virtual File System in XEN

To: Nupur Ghatnekar <nupurghatnekar@xxxxxxxxx>
Subject: Re: [Xen-devel] Virtual File System in XEN
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Thu, 22 Sep 2011 06:26:36 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Sep 2011 03:27:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAO8_4Vq7Q145GWwW8jG0oOs6TugQvP764njJ3JLtrAZ766tNUw@xxxxxxxxxxxxxx>
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: <CAO8_4Vq7Q145GWwW8jG0oOs6TugQvP764njJ3JLtrAZ766tNUw@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Sep 22, 2011 at 03:31:04PM +0530, Nupur Ghatnekar wrote:
> We are an undergraduate group of students. For our final year project, we
> are planning to implement a Virtual File System in XEN.
> 
> 
> In a paravirtualised environment, an Userspace Application makes a system
> call for access to a file, the domU’s kernel traps it and converts it to an
> appropriate block number. Now this block number is on the Virtual Hard Disk.
> The blktap mechanism is used for block I/O. It involves using XenBus and a

The blktap is deprecated for the upstream kernel - so it won't help you much.

You might be better of using the QEMU backends, like qcow or such.

> daemon in user space of Dom0 which with help of libaio fires the request on
> Dom0 File System. The current scenario involves multiple translations for
> getting the actual physical address.
> 
> 
> Our project intends to reduce the number of translations required during the
> fetching or satisfying of the request.
> 
> The DomU kernel doesn’t convert the FS request to block and passes on this
> to dom0 using a client-server mechanism.
> 
> 
> We intend to implement it using the 9P protocol.\
> 
> 1) The domU kernel’s filesystem component will be a client and the dom0 will
> be the server.
> 
> 2) The domU’s kernel will send the file request to dom0 using the 9P
> protocol rather than converting it to appropriate block no.
> 
> 3) The server in dom0 will authenticate the request, process it and send the
> appropriate replies.
> 
> 
> By having a virtual file system, the hypervisor will have a better
> understanding of what the guest domains are doing and hence this can help in
> taking intelligent decisions and thereby have better results in caching,
> de-duplication and snapshots.
> 
> Any suggestions for our proposed project would be appreciated.
> -- 
> 
> Nupur Ghatnekar

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


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

<Prev in Thread] Current Thread [Next in Thread>