cluster/group/gfs_controld lock_dlm.h plock.c ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-08-21 17:46:20
Modified files:
group/gfs_controld: lock_dlm.h plock.c recover.c
Log message:
- the check for us becoming the new low nodeid after the previous one failed and unlinking the ckpt wasn't adequately checking for the old low node having failed
- rename low_finished_nodeid to master_nodeid and clarify some of the code using this since it was confusing and misleading
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/lock_dlm.h.diff?cvsroot=cluster&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/recover.c.diff?cvsroot=cluster&r1=1.14&r2=1.15
group/gfs_controld/lock_dlm.h +1 -1
@@ -148,8 +148,8 @@int first_mounter_done;int emulate_first_mounter;int wait_first_done; -int low_finished_nodeid;int low_nodeid; +int master_nodeid;int save_plocks;uint64_t cp_handle;
group/gfs_controld/plock.c +2 -1
@@ -1374,7 +1374,8 @@saCkptSectionIterationFinalize (itr); out:if (mg->low_nodeid == our_nodeid) { -log_group (mg,"retrieve_plocks: unlink ckpt from old low node" ); +/* we're the new low nodeid, will be master */ +log_group (mg,"retrieve_plocks: unlink ckpt from old master" );_unlink_checkpoint (mg, &name); }else saCkptCheckpointClose (h);
group/gfs_controld/recover.c +79 -62
207 lines not on this page · raw message