※ リポジトリは、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
Revision | 77cd0a6f1024e6bcf33ac6a9a7688e5f7882ee7c (tree) |
---|---|
Time | 2010-06-01 19:16:55 |
Author | Andrew Beekhof <andrew@beek...> |
Commiter | Andrew Beekhof |
High: PE: Fix colocation with partially active groups
(transplanted from 840aa82979f990e5b36de1eda111515351f31c5d)
@@ -336,8 +336,16 @@ | ||
336 | 336 | return; |
337 | 337 | |
338 | 338 | } 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( | |
340 | 346 | rsc_lh, group_data->first_child, constraint); |
347 | + } | |
348 | + | |
341 | 349 | return; |
342 | 350 | |
343 | 351 | } else if(constraint->score >= INFINITY) { |