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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Oct 10 20:06:11 CEST 2011


This patchset adds a blocking mechanism to the cluster driver.

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

-- 
1.7.2.5




More information about the sheepdog mailing list