[ofa-general] Re: [PATCH v2] rdma_cm: Add debugfs entries to monitor rdma_cm connections

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Fri May 1 14:36:52 PDT 2009


On Thu, Apr 30, 2009 at 04:27:05PM +0300, Or Gerlitz wrote:
> Jason Gunthorpe wrote:
>> including a PID is not best, you should include enough information to 
>> figure out the pid(s) from proc/xx/fd, and vice versa.

> maybe its not the best solution but it seems to me good enough

Well, we have to live with these interfaces literally forever,
shortcuts ultimately just cause more problems down the road..

Reall the thinking should be 'I want to make lsof work usefully' not
'I want some random and different hack to let me see something'. And
yes, that is harder. But the IB stack is now at the point where these
small hard things are the sort of work that is needed to get parity
with the other stuff in linux..

Jason



More information about the general mailing list