cluster: RHEL56 - rgmanager: Header cleanup
Lon Hohberger
lon at fedoraproject.org
Fri Sep 24 22:20:47 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=438eb80aa512526f345863d6b8011b6ac31e688e
Commit: 438eb80aa512526f345863d6b8011b6ac31e688e
Parent: 0c39fc38a75ab456945b1ac2c73b1fd35dc0cf9f
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Wed Aug 25 13:32:19 2010 -0400
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Sep 24 16:16:02 2010 -0400
rgmanager: Header cleanup
Resolves: rhbz#605733
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
rgmanager/include/res-ocf.h | 1 +
rgmanager/include/resgroup.h | 3 +++
rgmanager/include/reslist.h | 2 +-
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/rgmanager/include/res-ocf.h b/rgmanager/include/res-ocf.h
index ce8e1f3..67b41cd 100644
--- a/rgmanager/include/res-ocf.h
+++ b/rgmanager/include/res-ocf.h
@@ -65,5 +65,6 @@
#define RS_MIGRATE (13)
#define RS_RECONFIG (14)
#define RS_STATUS_INQUIRY (15) /** Quick status */
+#define RS_CONVALESCE (16)
#endif
diff --git a/rgmanager/include/resgroup.h b/rgmanager/include/resgroup.h
index c8e7e2d..edfa012 100644
--- a/rgmanager/include/resgroup.h
+++ b/rgmanager/include/resgroup.h
@@ -89,6 +89,7 @@ typedef struct {
#define RG_FREEZE 23
#define RG_UNFREEZE 24
#define RG_STATUS_INQUIRY 25
+#define RG_CONVALESCE 26
#define RG_NONE 999
const char *rg_req_str(int req);
@@ -118,6 +119,8 @@ int handle_start_remote_req(char *svcName, int req);
/* Resource group flags (for now) */
#define RG_FLAG_FROZEN (1<<0) /** Resource frozen */
+#define RG_FLAG_PARTIAL (1<<1) /** One or more non-critical
+ resources offline */
const char *rg_state_str(int val);
const char *rg_flag_str(int val);
diff --git a/rgmanager/include/reslist.h b/rgmanager/include/reslist.h
index b2923ab..26fdbb5 100644
--- a/rgmanager/include/reslist.h
+++ b/rgmanager/include/reslist.h
@@ -46,7 +46,7 @@
resource class if you delete it from
the configuration */
#define RF_ENFORCE_TIMEOUTS (1<<9) /** Enforce timeouts for this node */
-#define RF_NON_CRITCIAL (1<<10) /** stop this resource if it fails */
+#define RF_NON_CRITICAL (1<<10) /** stop this resource if it fails */
More information about the cluster-commits
mailing list