[openib-general] hotplug support in mthca

Michael S. Tsirkin mst at mellanox.co.il
Tue Aug 1 07:22:42 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: hotplug support in mthca
> 
>     Michael> Roland, what happends today if an mthca device is removed
>     Michael> while a userspace applcation still keeps a reference to
>     Michael> it?
> 
> Something bad.

How about fixing it by blocking remove_one in uverbs until all contexts
are closed and device refcount drops to 0?


-- 
MST




More information about the general mailing list