From: Jack Morgenstein
Add support for associating an XRC domain to an inode so that XRC
domains can be shared between processes. We keep a per-device RB tree
of XRCDs (indexed by inode) in the uverbs module, and use struct
ib_xrcd's usecnt member to reference count XRCDs so that an XRCD is
not
On Monday 25 January 2010 21:01, Roland Dreier wrote:
> From: Jack Morgenstein
>
> Add support for associating an XRC domain to an inode so that XRC
> domains can be shared between processes. We keep a per-device RB tree
> of XRCDs (indexed by inode) in the uverbs module, and use struct
> ib_xrc
> I think I have uncovered a couple of bugs in my review (not surprising,
> since you
> most likely could not try out the code).
Thanks. Yes, this was all compile-tested only.
> 1. the xrcd refcnt is incremented when creating an xrc qp and xrc srq, but
> is unconditionally
>decrement
On Wednesday 03 February 2010 23:35, Roland Dreier wrote:
> > 2. In closing/deallocating xrc domains, it is not an error if
> ib_dealloc_xrcd returns "busy".
> > This simply means that there are other user processes still using that
> xrc domain.
> > The current process still needs to cl