public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, master, updated. gfs-kernel_0_1_22-71-g49a5ca7 Date: Thu, 13 Mar 2008 17:16:00 -0000 [thread overview] Message-ID: <20080313171648.23955.qmail@sourceware.org> (raw) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=49a5ca7296ad07833e647391380b7786b78a41df The branch, master has been updated via 49a5ca7296ad07833e647391380b7786b78a41df (commit) from 5c00e231b21d2b8e0be1b4dd028122313e603597 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 49a5ca7296ad07833e647391380b7786b78a41df Author: David Teigland <teigland@redhat.com> Date: Thu Mar 13 12:14:22 2008 -0500 dlm_tool: print correct rq mode in lockdump The rq mode in a lockdump was incorrectly showing up as NL for granted locks instead of IV (invalid). Signed-off-by: David Teigland <teigland@redhat.com> ----------------------------------------------------------------------- Summary of changes: dlm/tool/main.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dlm/tool/main.c b/dlm/tool/main.c index 078cf26..330d795 100644 --- a/dlm/tool/main.c +++ b/dlm/tool/main.c @@ -26,6 +26,8 @@ #include "libdlm.h" #include "dlm_controld.h" +#define LKM_IVMODE -1 + #define OPTION_STRING "MhVvd:m:" #define OP_JOIN 1 @@ -367,14 +369,14 @@ void do_lockdump(char *name) continue; } - /* A hack because dlm-kernel doesn't set rqmode back to NL when + /* A hack because dlm-kernel doesn't set rqmode back to IV when a NOQUEUE convert fails, which means in a lockdump it looks like a granted lock is still converting since rqmode is not - NL. (does it make sense to include status in the output, + IV. (does it make sense to include status in the output, e.g. G,C,W?) */ if (status == DLM_LKSTS_GRANTED) - rqmode = LKM_NLMODE; + rqmode = LKM_IVMODE; printf("id %08x gr %s rq %s pid %u master %d \"%s\"\n", id, mode_str(grmode), mode_str(rqmode), hooks/post-receive -- Cluster Project
reply other threads:[~2008-03-13 17:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080313171648.23955.qmail@sourceware.org \ --to=teigland@sourceware.org \ --cc=cluster-cvs@sources.redhat.com \ --cc=cluster-devel@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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).