[openib-general] Re: RDMA Generic Connection Management
Michael S. Tsirkin
mst at mellanox.co.il
Mon Aug 29 14:06:52 PDT 2005
Quoting r. Roland Dreier <rolandd at cisco.com>:
> Subject: Re: RDMA Generic Connection Management
>
> Sean> To focus on something a little different... do we want an
> Sean> API that returns a pointer to a device structure?
> Sean> Specifically, how does this affect device removal?
>
> Hey, that's a really good point. We should make sure that our API
> makes it easy to handle device hotplug.
>
> One solution is to start reference counting device references, but
> that inevitably leads to bugs in ULPs -- protocol authors won't get it
> right unless we make it really easy. And I don't see how to make the
> reference counting trivial.
>
> Anyone have a better idea?
Roland, could you please explain what the problem is?
If you have an outstanding request, and all devices went down,
cant it simply be completed with an error status?
--
MST
More information about the general
mailing list