From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Fri, 20 Apr 2007 09:26:52 +0100 Subject: [Cluster-devel] [DLM][PATCH] Fix dlm_lowcoms_stop hang In-Reply-To: <20070419215904.GA19923@korben.rdu.redhat.com> References: <20070419215904.GA19923@korben.rdu.redhat.com> Message-ID: <1177057612.1636.374.camel@quoit.chygwyn.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Now applied to the git tree. Thanks, Steve. On Thu, 2007-04-19 at 17:59 -0400, Josef Bacik wrote: > Hello, > > When you attempt to release a lockspace in DLM, it will hang trying to down a > semaphore that has already been downed. The attached patch fixes the problem. > Thank you, > > Josef > > Signed-off-by: Josef Bacik > > diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c > index 76399b7..2b32f3c 100644 > --- a/fs/dlm/lowcomms.c > +++ b/fs/dlm/lowcomms.c > @@ -1407,7 +1407,7 @@ void dlm_lowcomms_stop(void) > clean_writequeues(); > > for (i = 0; i < max_nodeid; i++) { > - con = nodeid2con(i, 0); > + con = __nodeid2con(i, 0); > if (con) { > close_connection(con, true); > if (con->othercon) >