[ofa-general] Re: [PATCH RFC] sharing userspace IB objects

Michael S. Tsirkin mst at dev.mellanox.co.il
Tue Jul 10 11:37:05 PDT 2007


>  > The special nature of your suggested filesystem would be
>  > that we actually let users create files there,
>  > but then files need to disappear when the last user
>  > closes the file.
> 
> Yes, that's true.  Phrased that way it does seem tricky.

OK, so how about the idea to just pass in *any* fd, and just
create a mapping between an inode and src domain (or other shared object),
by means of a radix tree or something like this.

We can then use the mapping to check permissions when new
processes want to attach to an existing object.

Hmm?

-- 
MST



More information about the general mailing list