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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sat Nov 5 18:02:06 CET 2011


At Wed,  2 Nov 2011 18:59:21 +0900,
MORITA Kazutaka wrote:
> 
> 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

Applied after modifying output strings like Chris's patchset.

Kazutaka



More information about the sheepdog mailing list