cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <jwhiter@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [DLM][PATCH] Fix dlm_lowcoms_stop hang
Date: Thu, 19 Apr 2007 17:59:05 -0400	[thread overview]
Message-ID: <20070419215904.GA19923@korben.rdu.redhat.com> (raw)

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 <jwhiter@redhat.com>

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)



             reply	other threads:[~2007-04-19 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19 21:59 Josef Bacik [this message]
2007-04-20  8:26 ` [Cluster-devel] [DLM][PATCH] Fix dlm_lowcoms_stop hang Steven Whitehouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070419215904.GA19923@korben.rdu.redhat.com \
    --to=jwhiter@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).