[ofa-general] Re: [PATCH RFC] sharing userspace IB objects
Michael S. Tsirkin
mst at dev.mellanox.co.il
Tue Jul 10 00:32:09 PDT 2007
> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH RFC] sharing userspace IB objects
>
> > Could you please clarify how do you envision this done?
> > Do we just create our own filesystem?
> >
> > Reason I ask, we'll need something like this for SRC domain too ...
>
> I don't have a really clear idea. "Look at spufs" is about as far as
> I got.
OK, here's a very simple idea, I'll demonstrate it with the SRC domain object
- make it possible to map an src domain to an open fd
- verify that all processes map a specific src domain to the same inode
This way we don't need our own filesystem, any file can be used
to share src domains, applications just need to pass some kind of
unique domain handle around: one way to do this would be for the app
to use a real file, and actually write the handle value in this file.
How does this sound?
--
MST
More information about the general
mailing list