This patchset adds a blocking mechanism to the cluster driver. Changes from v4 to v5 are: - rebase onto the master branch Changes from v3 to v4 are: - avoid zero byte memcpy Changes from v2 to v3 are: - make the block_cb() comment clear - remove a if statement in switch case to simplify codes Changes from v1 to v2 are: - separate block and unblock events to enum corosync_message_type MORITA Kazutaka (3): cluster/corosync: link corosync events to list before dispatching them cluster: add blocking mechanism to notification sheep: use block_cb for vdi operations sheep/cluster.h | 9 +- sheep/cluster/corosync.c | 291 ++++++++++++++++++++++++++++++++++++++++++---- sheep/group.c | 108 +++++------------- 3 files changed, 303 insertions(+), 105 deletions(-) -- 1.7.2.5 |