public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
@ 2014-10-20 15:37 Steve Wise
       [not found] ` <20141020153755.31500.44966.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Wise @ 2014-10-20 15:37 UTC (permalink / raw)
  To: roland-BHEL68pLQRGGvPXPguhicg; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

When transitioning into ERROR state, the QP was getting flushed after
waking up any waiters.  This can cause applications to miss flushed work
requests which can stall an NFS mount.

Signed-off-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
---

 drivers/infiniband/hw/cxgb4/qp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c
index 41cd688..fad4851 100644
--- a/drivers/infiniband/hw/cxgb4/qp.c
+++ b/drivers/infiniband/hw/cxgb4/qp.c
@@ -1538,9 +1538,9 @@ err:
 	set_state(qhp, C4IW_QP_STATE_ERROR);
 	free = 1;
 	abort = 1;
-	wake_up(&qhp->wait);
 	BUG_ON(!ep);
 	flush_qp(qhp);
+	wake_up(&qhp->wait);
 out:
 	mutex_unlock(&qhp->mutex);
 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
       [not found] ` <20141020153755.31500.44966.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
@ 2014-11-21 15:25   ` Steve Wise
       [not found]     ` <546F597B.4020404-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
  2014-12-01 15:42     ` Steve Wise
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Wise @ 2014-11-21 15:25 UTC (permalink / raw)
  To: roland-BHEL68pLQRGGvPXPguhicg; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hey Roland,

Hope you can get this bug fix into 3.18.  Plus these others that have 
been submitted a while ago.  Here is the entire list:

https://patchwork.kernel.org/patch/5106541/
https://patchwork.kernel.org/patch/5249511/
https://patchwork.kernel.org/patch/5249501/
https://patchwork.kernel.org/patch/5089511/
https://patchwork.kernel.org/patch/5089501/


Thanks,

Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
       [not found]     ` <546F597B.4020404-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
@ 2014-11-21 15:42       ` Steve Wise
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Wise @ 2014-11-21 15:42 UTC (permalink / raw)
  To: roland-BHEL68pLQRGGvPXPguhicg; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

I've pushed these to:

git://git.openfabrics.org/~swise/linux.git for_roland

Steve

Hariprasad Shenai (2):
      iw_cxgb4: Fixes locking issue in process_mpa_request
      iw_cxgb4: limit MRs to < 8GB for T4/T5 devices

Pramod Kumar (2):
      cxgb4/rdma:Increase epd buff size for debug interface
      cxgb4/rdma: configure 0B MRs to match HW implementation

Steve Wise (1):
      iw_cxgb4: Wake up waiters after flushing the qp


> -----Original Message-----
> From: Steve Wise [mailto:swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org]
> Sent: Friday, November 21, 2014 9:26 AM
> To: roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: Re: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
> 
> Hey Roland,
> 
> Hope you can get this bug fix into 3.18.  Plus these others that have
> been submitted a while ago.  Here is the entire list:
> 
> https://patchwork.kernel.org/patch/5106541/
> https://patchwork.kernel.org/patch/5249511/
> https://patchwork.kernel.org/patch/5249501/
> https://patchwork.kernel.org/patch/5089511/
> https://patchwork.kernel.org/patch/5089501/
> 
> 
> Thanks,
> 
> Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
  2014-11-21 15:25   ` Steve Wise
       [not found]     ` <546F597B.4020404-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
@ 2014-12-01 15:42     ` Steve Wise
  1 sibling, 0 replies; 4+ messages in thread
From: Steve Wise @ 2014-12-01 15:42 UTC (permalink / raw)
  To: roland-BHEL68pLQRGGvPXPguhicg
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	hariprasad-ut6Up61K2wZBDgjK7y7TUQ

Hey Roland, please reply and let me know if you will push these to 3.18 (would have to happen now) or if they are destined for 3.19.

Thanks,

Steve.


> -----Original Message-----
> From: Steve Wise [mailto:swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org]
> Sent: Friday, November 21, 2014 9:42 AM
> To: 'roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org'
> Cc: 'linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org'
> Subject: RE: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
> 
> I've pushed these to:
> 
> git://git.openfabrics.org/~swise/linux.git for_roland
> 
> Steve
> 
> Hariprasad Shenai (2):
>       iw_cxgb4: Fixes locking issue in process_mpa_request
>       iw_cxgb4: limit MRs to < 8GB for T4/T5 devices
> 
> Pramod Kumar (2):
>       cxgb4/rdma:Increase epd buff size for debug interface
>       cxgb4/rdma: configure 0B MRs to match HW implementation
> 
> Steve Wise (1):
>       iw_cxgb4: Wake up waiters after flushing the qp
> 
> 
> > -----Original Message-----
> > From: Steve Wise [mailto:swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org]
> > Sent: Friday, November 21, 2014 9:26 AM
> > To: roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org
> > Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> > Subject: Re: [PATCH] iw_cxgb4: Wake up waiters after flushing the qp
> >
> > Hey Roland,
> >
> > Hope you can get this bug fix into 3.18.  Plus these others that have
> > been submitted a while ago.  Here is the entire list:
> >
> > https://patchwork.kernel.org/patch/5106541/
> > https://patchwork.kernel.org/patch/5249511/
> > https://patchwork.kernel.org/patch/5249501/
> > https://patchwork.kernel.org/patch/5089511/
> > https://patchwork.kernel.org/patch/5089501/
> >
> >
> > Thanks,
> >
> > Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-01 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 15:37 [PATCH] iw_cxgb4: Wake up waiters after flushing the qp Steve Wise
     [not found] ` <20141020153755.31500.44966.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
2014-11-21 15:25   ` Steve Wise
     [not found]     ` <546F597B.4020404-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2014-11-21 15:42       ` Steve Wise
2014-12-01 15:42     ` Steve Wise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox