[PATCH 4/4] IB/uverbs: Support for associating XRC domains to inodes

2010-01-25 Thread Roland Dreier
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

Re: [PATCH 4/4] IB/uverbs: Support for associating XRC domains to inodes

2010-02-01 Thread Jack Morgenstein
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

Re: [PATCH 4/4] IB/uverbs: Support for associating XRC domains to inodes

2010-02-03 Thread Roland Dreier
> 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

Re: [PATCH 4/4] IB/uverbs: Support for associating XRC domains to inodes

2010-02-04 Thread Jack Morgenstein
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