[Sheepdog] [PATCH v4 0/3] add a blocking callback to cluster notification

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Oct 11 08:02:31 CEST 2011


This patchset adds a blocking mechanism to the cluster driver.

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 |  293 ++++++++++++++++++++++++++++++++++++++++++----
 sheep/group.c            |   97 ++++------------
 3 files changed, 298 insertions(+), 101 deletions(-)

-- 
1.7.2.5




More information about the sheepdog mailing list