FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 03-24-2008, 08:27 PM
Default Cluster Project branch, RHEL5, updated. cmirror_1_1_15-17-gd3f69f5

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=d3f69f52ce 9c48a7abd4fb89efc3897aac9bb1c4

The branch, RHEL5 has been updated
via d3f69f52ce9c48a7abd4fb89efc3897aac9bb1c4 (commit)
from 55dca012f902c090df399b2dc91cfa86d13f2e90 (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 d3f69f52ce9c48a7abd4fb89efc3897aac9bb1c4
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 6039812..1d1fc8e 100644
--- a/dlm/tool/main.c
+++ b/dlm/tool/main.c
@@ -29,6 +29,8 @@
#include "dlm_controld.h"

+#define LKM_IVMODE -1
#define OPTION_STRING "MhVvd:m:"

#define OP_JOIN 1
@@ -373,14 +375,14 @@ void do_lockdump(char *name)

- /* 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"
id, mode_str(grmode), mode_str(rqmode),

Cluster Project

Thread Tools

All times are GMT. The time now is 12:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org