From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22582 invoked by alias); 5 Jan 2007 18:49:02 -0000 Received: (qmail 22544 invoked by uid 9453); 5 Jan 2007 18:49:00 -0000 Date: Fri, 05 Jan 2007 18:49:00 -0000 Message-ID: <20070105184900.22543.qmail@sourceware.org> From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/group/daemon app.c cpg.c gd_internal.h Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00024.txt.bz2 CVSROOT: /cvs/cluster Module name: cluster Changes by: teigland@sourceware.org 2007-01-05 18:49:00 Modified files: group/daemon : app.c cpg.c gd_internal.h Log message: groupd creates uint32 global id's for each group. It doesn't use them itself, but provides them to each registered app to use if it wants. (The dlm and gfs each use the global id in messages to distinguish between different lockspaces/fs's.) groupd's method of creating these gid's (local counter | local nodeid) can result in duplicate gid's in the cluster given a somewhat uncommon sequence of events. bz 221629 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/app.c.diff?cvsroot=cluster&r1=1.53&r2=1.54 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/cpg.c.diff?cvsroot=cluster&r1=1.37&r2=1.38 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/gd_internal.h.diff?cvsroot=cluster&r1=1.45&r2=1.46