cluster/rgmanager/src daemons/resrules.c daemo ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2007-04-04 20:22:29
Modified files:
rgmanager/src/daemons: resrules.c restree.c rgmanager/src/resources: clusterfs.sh
Log message:
allow ocfs[2] to work with the clusterfs resource agent. Also, commit patch which corrects interval processing for status operations
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/resrules.c.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/restree.c.diff?cvsroot=cluster&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/clusterfs.sh.diff?cvsroot=cluster&r1=1.15&r2=1.16
rgmanager/src/daemons/resrules.c +3 -0
@@ -274,6 +274,7 @@ acts[0 ].ra_depth = depth; acts[0 ].ra_timeout = timeout; acts[0 ].ra_interval = interval; + acts[0 ].ra_last =0 ; acts[1 ].ra_name =NULL ; *actsp = acts;
@@ -297,6 +298,7 @@ (int)interval); acts[x].ra_interval = interval; } + acts[x].ra_last =0 ;printf ("\n" ); replace =1 ; }
@@ -318,6 +320,7 @@ acts[x].ra_depth = depth; acts[x].ra_timeout = timeout; acts[x].ra_interval = interval; + acts[x].ra_last =0 ; acts[x+1 ].ra_name =NULL ;
rgmanager/src/daemons/restree.c +43 -9
75 lines not on this page · raw message
rgmanager/src/resources/clusterfs.sh +3 -0
@@ -279,6 +279,9 @@ gfs) return $OCF_SUCCESS ;; + ocfs|ocfs2) + return $OCF_SUCCESS + ;; *) ocf_log err "File system type $OCF_RESKEY_fstype not supported" return $OCF_ERR_ARGS