From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hal Rosenstock Subject: Re: [PATCH] IB: fix task hanging on error recovery Date: Mon, 05 Nov 2012 14:15:16 -0500 Message-ID: <50981044.3010901@dev.mellanox.co.il> References: <1350683896-3928-1-git-send-email-klebers@linux.vnet.ibm.com> <50929160.1000109@mellanox.com> <1828884A29C6694DAF28B7E6B8A8237346AC5B9F@ORSMSX101.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1828884A29C6694DAF28B7E6B8A8237346AC5B9F-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Hefty, Sean" Cc: Or Gerlitz , Kleber Sacilotto de Souza , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "cascardo-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org" , "brking-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On 11/5/2012 1:21 PM, Hefty, Sean wrote: >>> drivers/infiniband/core/ucm.c | 2 +- >>> drivers/infiniband/core/ucma.c | 2 +- >> >> On these files, as far as I understand this code from quick looking, I'm >> not sure on what >> exactly the completion objects protects, Sean? > > These protect against the caller trying to destroy an object that is in use. For example, it handles the case where the user calls 'connect' on a given context, then calls 'destroy' on that same context from another thread. > > We shouldn't need to deal with any timeouts at this level. I believe there's some lower level issue which needs to be found and fixed where some driver is not returning the completions for some reason. -- Hal > > - Sean > -- > 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 > -- 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