• R/O
  • SSH

pm_diskd: Commit

※ リポジトリは、pm-diskd ブランチが https://github.com/linux-ha-japan/pm_diskd-1.0 へ、pm-diskd-2.0ブランチが https://github.com/linux-ha-japan/pm_diskd へ移行しました。

Pacemaker 対応ディスク故障監視機能。

Pacemaker-1.0公式リポジトリのクローンに対し、パッチ作成用のブランチを作成して管理する。
ブランチ名: pm-diskd

初回 hg clone 実行後は、hg update -r pm-diskd を実行すること。

Heartbeat-2.1.4 用 hb-diskd(*) のPacemaker対応版
(*) http://sourceforge.jp/projects/linux-ha/releases/?package_id=10555


Commit MetaInfo

Revision77cd0a6f1024e6bcf33ac6a9a7688e5f7882ee7c (tree)
Time2010-06-01 19:16:55
AuthorAndrew Beekhof <andrew@beek...>
CommiterAndrew Beekhof

Log Message

High: PE: Fix colocation with partially active groups
(transplanted from 840aa82979f990e5b36de1eda111515351f31c5d)

Change Summary

Incremental Difference

diff -r 61efe0f1564d -r 77cd0a6f1024 pengine/group.c
--- a/pengine/group.c Tue Jun 01 12:06:53 2010 +0200
+++ b/pengine/group.c Tue Jun 01 12:16:55 2010 +0200
@@ -336,8 +336,16 @@
336336 return;
337337
338338 } else if(group_data->colocated && group_data->first_child) {
339- group_data->first_child->cmds->rsc_colocation_rh(
339+ if(constraint->score >= INFINITY) {
340+ /* Ensure RHS is _fully_ up before can start LHS */
341+ group_data->last_child->cmds->rsc_colocation_rh(
342+ rsc_lh, group_data->last_child, constraint);
343+ } else {
344+ /* A partially active RHS is fine */
345+ group_data->first_child->cmds->rsc_colocation_rh(
340346 rsc_lh, group_data->first_child, constraint);
347+ }
348+
341349 return;
342350
343351 } else if(constraint->score >= INFINITY) {
Show on old repository browser