Re: [PATCH 2/2] opensm: Protect against spurious wakeups when calling cl_event_wait_on

2012-11-01 Thread Roland Dreier
On Mon, Oct 29, 2012 at 4:45 PM, Albert Chu wrote: > @@ -525,8 +525,8 @@ static void cc_poller_send(osm_congestion_control_t *p_cc, > status = osm_vendor_send(p_cc->bind_handle, p_madw, TRUE); > if (status == IB_SUCCESS) { > cl_atomic_inc(&p_cc->outstanding_mads_on_

[PATCH] infiniband-diags/ibsysstat.c: Fix non default OUI operation

2012-11-01 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock --- diff --git a/src/ibsysstat.c b/src/ibsysstat.c index d798fe2..eb876d4 100644 --- a/src/ibsysstat.c +++ b/src/ibsysstat.c @@ -63,6 +63,7 @@ typedef struct cpu_info { static cpu_info cpus[MAX_CPUS]; static int host_ncpu; +static int server = 0, oui = IB_OPENIB_

Re: [PATCH] IB: fix task hanging on error recovery

2012-11-01 Thread Or Gerlitz
On 19/10/2012 23:58, Kleber Sacilotto de Souza wrote: During PCI error recovery, the calls to wait_for_completion() in the infiniband core path can hang waiting for some tasks that will never complete, since the hardware is nonfunctional. INFO: task eehd:16029 blocked for more than 120 seconds.

Re: [PATCH] IB: fix task hanging on error recovery

2012-11-01 Thread Hal Rosenstock
On 11/1/2012 11:12 AM, Or Gerlitz wrote: > On 19/10/2012 23:58, Kleber Sacilotto de Souza wrote: >> During PCI error recovery, the calls to wait_for_completion() in the >> infiniband core path can hang waiting for some tasks that will never >> complete, since the hardware is nonfunctional. >> >> IN

Re: [PATCH] IB: fix task hanging on error recovery

2012-11-01 Thread Kleber Sacilotto de Souza
On 11/01/2012 01:30 PM, Hal Rosenstock wrote: > On 11/1/2012 11:12 AM, Or Gerlitz wrote: >> On 19/10/2012 23:58, Kleber Sacilotto de Souza wrote: >>> During PCI error recovery, the calls to wait_for_completion() in the >>> infiniband core path can hang waiting for some tasks that will never >>> com

Re: [PATCH 2/2] opensm: Protect against spurious wakeups when calling cl_event_wait_on

2012-11-01 Thread Jason Gunthorpe
On Thu, Nov 01, 2012 at 12:59:58AM -0700, Roland Dreier wrote: > On Mon, Oct 29, 2012 at 4:45 PM, Albert Chu wrote: > > @@ -525,8 +525,8 @@ static void cc_poller_send(osm_congestion_control_t > > *p_cc, > > status = osm_vendor_send(p_cc->bind_handle, p_madw, TRUE); > > if (status

Re: [PATCH] infiniband-diags/src/saquery.c: New option to saquery InformInfoRecord (IIR)

2012-11-01 Thread Ira Weiny
Sorry for the delay on this, comments below. On Tue, 16 Oct 2012 11:45:25 +0200 Dan Ben Yosef wrote: > From: Dan Ben Yosef > > Add the option to display the InformInfoRecord by SubscriberGid > > Signed-off-by: Dan Ben Yosef > --- > src/saquery.c | 30 ++ > 1 fi

Re: [PATCH] infiniband-diags/ibsysstat.c: Fix non default OUI operation

2012-11-01 Thread Ira Weiny
On Thu, 01 Nov 2012 08:35:41 -0400 Hal Rosenstock wrote: > > Signed-off-by: Hal Rosenstock Thanks applied, Ira -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo