Re: Poll CQ syncing problem

2017-03-01 Thread Noa Osherovich
On 3/1/2017 4:51 PM, Christoph Hellwig wrote: > On Wed, Mar 01, 2017 at 04:30:26PM +0200, Noa Osherovich wrote: >> Analysis: >> Since ib_comp_wq isn't single threaded, two works can run in parallel for >> the same CQ, >> executing __ib_process_cq. > They shouldn't. Each CQ has a single work_stru

Re: Poll CQ syncing problem

2017-03-01 Thread Christoph Hellwig
On Wed, Mar 01, 2017 at 04:30:26PM +0200, Noa Osherovich wrote: > Analysis: > Since ib_comp_wq isn't single threaded, two works can run in parallel for the > same CQ, > executing __ib_process_cq. They shouldn't. Each CQ has a single work_struct, and any given work_struct should only be executing