[sheepdog] [sheepdog/sheepdog] b7d56e: sheep: avoid creating a checkpoint of vdi state if...

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Sep 21 18:17:39 CEST 2015


  Branch: refs/heads/accelio-v1.1
  Home:   https://github.com/sheepdog/sheepdog
  Commit: b7d56ea11a1dc108ceb8ea790d85b798690cafc6
      https://github.com/sheepdog/sheepdog/commit/b7d56ea11a1dc108ceb8ea790d85b798690cafc6
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-09-22 (Tue, 22 Sep 2015)

  Changed paths:
    M sheep/group.c

  Log Message:
  -----------
  sheep: avoid creating a checkpoint of vdi state if it isn't necessary

If a cluster isn't formatted with -l option, creating a checkpoint of
vdi state if it isn't necessary.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


  Commit: bfdb1404d62d38cfb15f4fca8d7ff56cdb615d4b
      https://github.com/sheepdog/sheepdog/commit/bfdb1404d62d38cfb15f4fca8d7ff56cdb615d4b
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-09-22 (Tue, 22 Sep 2015)

  Changed paths:
    M configure.ac
    M dog/Makefile.am
    M dog/common.c
    M dog/dog.c
    M dog/dog.h
    M include/internal_proto.h
    M include/net.h
    A include/xio.h
    M lib/Makefile.am
    A lib/xio.c
    M sheep/Makefile.am
    M sheep/gateway.c
    M sheep/request.c
    M sheep/sheep.c
    M sheep/sheep_priv.h
    A sheep/xio.c
    M shepherd/Makefile.am

  Log Message:
  -----------
  initial accelio support

This patch adds a support of accelio, an library of RPC which wraps
TCP and RDMA in clean way, to sheepdog. With this change, sheepdog
will be able to utilize high speed interconnect like infiniband.

The code is very early stage and have bunch of ToDos. However, I'd
like to share it and want the community to help the implementation.

How to build:
 1. install accelio
 2. ./configure --enable-accelio
 3. make

How to use:
 $ sheep -i transport=rdma,addr=xxx,port=yyy ...

Minor ToDos:
 - clean up code (e.g. comment out)
 - remove known segfault bugs
 - sane error handling
 - remove memory leaks

Major ToDos:
 - enhance code for utilizing RDMA
 - rx/tx in worker threads (I'm not sure it is effective because RDMA
   helps to reduce CPU consumption)

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


Compare: https://github.com/sheepdog/sheepdog/compare/014fec31fa42...bfdb1404d62d


More information about the sheepdog mailing list