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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Oct 12 13:49:31 CEST 2011


This patchset adds a blocking mechanism to the cluster driver.

Changes from v4 to v5 are:

 - avoid passing an invalid pointer to memcpy() even if the copy size
   is zero

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




More information about the sheepdog mailing list