[Sheepdog] [PATCH v2 0/5] add cluster driver "local"

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Nov 2 10:59:21 CET 2011


This patchset adds support for cluster driver "local".  We cannot use
this driver with multiple machines, but it is useful for debugging and
good introduction for new cluster drivers.

With this patchset, corosync cluster driver becomes an optional
feature (enabled by default).  We can use Sheepdog for testing on
localhost without installing corosync now.

v2:
 - add support for specifying shared file name


MORITA Kazutaka (5):
  sheep: initialize workqueues just before event_loop()
  sheep: add support for cluster driver-specific option
  cluster: add local cluster driver
  make corosync cluster driver an optional feature
  sheep: use local cluster driver when corosync is not available

 configure.ac             |   15 ++-
 sheep/Makefile.am        |    6 +-
 sheep/cluster.h          |   29 +++-
 sheep/cluster/corosync.c |    3 +-
 sheep/cluster/local.c    |  478 ++++++++++++++++++++++++++++++++++++++++++++++
 sheep/group.c            |   16 +-
 sheep/sheep.c            |   28 ++--
 sheep/sheep_priv.h       |    1 +
 8 files changed, 546 insertions(+), 30 deletions(-)
 create mode 100644 sheep/cluster/local.c

-- 
1.7.2.5




More information about the sheepdog mailing list