Red Hat Bugzilla – Bug 462892
gfs: use dlm_posix_set_fsid() for compat with old gfs_controld
Last modified: 2010-01-11 22:29:27 EST
Description of problem:
Bug 462354 allows gfs1&2 to work with old versions of gfs_controld.
It adds the function dlm_posix_set_fsid() which gfs1 needs to
call to set the fsid in the plock ops.
Once the patch for 462354 is included, and dlm_posix_set_fsid is
whitelisted, gfs1 can get this patch:
diff --git a/gfs-kernel/src/gfs/lock_dlm_mount.c b/gfs-kernel/src/gfs/lock_dlm_m
index 9546a13..909d6c2 100644
@@ -154,6 +154,8 @@ static int gdlm_mount(char *table_name, char *host_data,
+ dlm_posix_set_fsid(ls->dlm_lockspace, ls->id);
lockstruct->ls_jid = ls->jid;
lockstruct->ls_first = ls->first;
lockstruct->ls_lockspace = ls;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This is dependent on the gfs compatibility patch for the dlm kernel. Once that patch is in, then this will get commited. Added exception flag to allow us to be backward compatible with earlier rhel 5 cman packages.
Turns out we can do this after beta builds.
Verified plocks work on a RHEL 5.3 node which has joined a RHEL 5.3 cluster
using tree RHEL5.3-Server-20081105.1.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.