Skip to contentSkip to conversation

Cluster Project branch, RHEL5, updated. cmirror_1_1_15-149-g705c5ce

Cluster-devel [email protected] 1 participant 1 message Jul 17, 2008

lore
Share & tools
lore
#0 lore 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=705c5ceb17da0daf018c688ac478b4fae2371e3d

The branch, RHEL5 has been updated

       via  705c5ceb17da0daf018c688ac478b4fae2371e3d (commit)
      from  edeac8b3f8ef1b4514d9275fe58353897fe64180 (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 705c5ceb17da0daf018c688ac478b4fae2371e3d

Author: David Teigland <[email protected]>
Date:   Thu Jun 5 16:17:39 2008 -0500

gfs_controld: read plocks from dlm or lock_dlm

bz 450169

For bug 450138, the kernel plock code was moved from gfs2 into the dlm. gfs_controld needs to be adapted to this change, and read plocks from either lock_dlm (kernels before 5.3), or dlm (kernels 5.3 and later).

The misc device gfs_controld reads/writes has previously been called "lock_dlm_plock", but the patch for bug 450138 changes the name of the device to "dlm_plock". gfs_controld looks for "dlm_plock", and if it's not found, looks for "lock_dlm_plock". If "lock_dlm_plock" is found, it knows that the filesystem/lockspace id in the plock structures needs to be translated. Otherwise, the operation of plocks remains the same.

-----------------------------------------------------------------------

Summary of changes:

 group/gfs_controld/lock_dlm.h |    1 +
 group/gfs_controld/plock.c    |  254 ++++++++++++++++++++++++++++++++---------
 2 files changed, 200 insertions(+), 55 deletions(-)
group/gfs_controld/lock_dlm.h +1 -0
index 7b514df..746d0c7 100644
@@ -121,6 +121,7 @@ struct mountpoint {
 struct mountgroup {
 	struct list_head	list;
 	uint32_t		id;
+	uint32_t		associated_ls_id;
 	struct list_head	members;
 	struct list_head	members_gone;
 	int			memb_count;
group/gfs_controld/plock.c +199 -55

545 lines not on this page · raw message

hooks/post-receive
--
Cluster Project