Re: Unionmount: proxying the control port

2009-07-08 Thread Carl Fredrik Hammar
Hi, On Wed, Jul 08, 2009 at 03:41:51PM +0300, Sergiu Ivanov wrote: > On Tue, Jul 07, 2009 at 09:50:12PM +0200, Carl Fredrik Hammar wrote: > > On Tue, Jul 07, 2009 at 08:55:37PM +0300, Sergiu Ivanov wrote: > > > * fsys_set_options: This RPC should be forwarded to the mountee > > > completely. un

[PATCH] Implement the sync libnetfs stubs.

2009-07-08 Thread Sergiu Ivanov
>From 61e2ab02f39e70732884c53b959cb4cf0b4c92a2 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Wed, 8 Jul 2009 18:46:58 + Subject: [PATCH] Implement the sync libnetfs stubs. * netfs.c (netfs_attempt_sync): Sync every writable directory associated with the supplied node. (netfs_attempt_sync

Re: plan to work on user-level device drivers

2009-07-08 Thread Thomas Schwinge
Hello! On Fri, Jun 26, 2009 at 02:48:24PM +0800, Da Zheng wrote: > I am thinking about writing user-level device drivers. When I searched > Internet, I found the paper "An Architecture for Device Drivers > Executing as User-Level Tasks" written by David B. Golub, Guy G. > Sotomayor and Freeman

Re: [PATCH] Orphan the mountee.

2009-07-08 Thread Sergiu Ivanov
>From 726c3ccb12893d4b3dc0afd173669bde43dd92f0 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Wed, 8 Jul 2009 13:01:20 + Subject: [PATCH] Orphan the mountee. * mount.c (unionmount_proxy): Remove variable. (start_mountee): Remove parameter np. Remove variable underlying_port. Don't attach

Re: How to clone a port right

2009-07-08 Thread Sergiu Ivanov
Hello, On Wed, Jul 08, 2009 at 04:33:02PM +0200, Carl Fredrik Hammar wrote: > On Tue, Jul 07, 2009 at 09:24:27PM +0300, Sergiu Ivanov wrote: > > /* Opens the port on which to set the mountee. */ > > error_t > > open_port (int flags, mach_port_t * underlying, > >mach_msg_ty

Re: How to clone a port right

2009-07-08 Thread Sergiu Ivanov
Hello, On Tue, Jul 07, 2009 at 09:24:27PM +0300, Sergiu Ivanov wrote: > I tried to set *underlying to MACH_PORT_NULL, but it (in a quite > expected way) refused to work. I then tried to do > > *underlying = underlying_node; > > where underlying_node is a port right describing a port to the >

Re: How to clone a port right

2009-07-08 Thread Carl Fredrik Hammar
Hi, On Tue, Jul 07, 2009 at 09:24:27PM +0300, Sergiu Ivanov wrote: > /* Opens the port on which to set the mountee. */ > error_t > open_port (int flags, mach_port_t * underlying, >mach_msg_type_name_t * underlying_type, task_t task, >void *cookie) > { >

Re: How to clone a port right

2009-07-08 Thread Sergiu Ivanov
On Wed, Jul 08, 2009 at 04:25:27PM +0200, Carl Fredrik Hammar wrote: > On Wed, Jul 08, 2009 at 02:14:53PM +0300, Sergiu Ivanov wrote: > > My previous mail says that when I simply pass the unionfs's underlying > > node I get an error; the error is given in that mail :-) That's why > > the question i

Re: How to clone a port right

2009-07-08 Thread Carl Fredrik Hammar
Hi, On Wed, Jul 08, 2009 at 02:14:53PM +0300, Sergiu Ivanov wrote: > My previous mail says that when I simply pass the unionfs's underlying > node I get an error; the error is given in that mail :-) That's why > the question in the subject of the post ;-) I knew I shouldn't have replied when I wa

Re: Unionmount: proxying the control port

2009-07-08 Thread Sergiu Ivanov
Hello, On Tue, Jul 07, 2009 at 09:50:12PM +0200, Carl Fredrik Hammar wrote: > On Tue, Jul 07, 2009 at 08:55:37PM +0300, Sergiu Ivanov wrote: > > It was agreed that unionmount should forward some of the RPCs invoked > > on its control port to the mountee. Most (if not all) of such RPCs > > are the

Re: How to clone a port right

2009-07-08 Thread Sergiu Ivanov
Hello, On Tue, Jul 07, 2009 at 09:54:51PM +0200, Carl Fredrik Hammar wrote: > On Tue, Jul 07, 2009 at 09:24:27PM +0300, Sergiu Ivanov wrote: > > In the latest working design unionmount creates a proxy node (by > > cloning the netfs_root_node of unionfs translator) and sets the > > mountee on this

Re: News...

2009-07-08 Thread Arne Babenhauserheide
Am Dienstag, 7. Juli 2009 19:10:15 schrieb Thomas Schwinge: > The instructions from > > basically still apply, replacing homepage with master-news_next, of > course. If there are concrete questions about how to handle these two > b