[sheepdog] [PATCH 1/3] sheep: add a kill node operation

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jul 23 11:29:23 CEST 2012


At Mon, 23 Jul 2012 11:23:34 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> This command is supposed to shut down the specified node gracefully.
> 
> usage:
>  $ collie node kill node_id
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  collie/node.c            |   37 +++++++++++++++++++++++++++++++++++++
>  include/internal_proto.h |    2 ++
>  include/sheepdog_proto.h |    1 +
>  sheep/ops.c              |   14 ++++++++++++++
>  sheep/request.c          |    4 ++++
>  sheep/sheep.c            |    4 +++-
>  6 files changed, 61 insertions(+), 1 deletion(-)

Looks good to me.

Reviewed-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>



More information about the sheepdog mailing list