[Sheepdog] [PATCH v2] add some candy helpers

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Nov 17 10:35:52 CET 2011


At Wed, 16 Nov 2011 18:37:20 +0800,
Liu Yuan wrote:
> 
> These candy helpers are spin-offs from the development "Farm". I don't know
> when Farm will be released, so I think it would be useful for other dev to include
> these helerps in early. Most are taken from Linux kernel, git.
> 
> Thanks,
> Yuan
> 
> v2 changes:
>  - drop simple slab allocator
>  - drop hash_long(), use fnv_64a_buf() as kazum suggested.
>  - add xpread, xpwrite helpers.
> 
>  Liu Yuan (4):
>       sheep: modify Makefile.am for candy helpers.
>       sheep: add some candy helpers in util.c
>       sheep: add string buf candy helpers
>       sheep: add hlist candy helpers
> 
>  include/list.h           |  116 +++++++++++++++++++++++++
>  include/sheepdog_proto.h |    7 ++
>  include/util.h           |   14 +++
>  sheep/Makefile.am        |    4 +-
>  sheep/strbuf.c           |  192 +++++++++++++++++++++++++++++++++++++++++
>  sheep/strbuf.h           |   95 ++++++++++++++++++++
>  sheep/util.c             |  214 ++++++++++++++++++++++++++++++++++++++++++++++
>  7 files changed, 640 insertions(+), 2 deletions(-)

Thanks, I've created 'next' branch for the next release 0.4.0, and
applied this patchset.  Let me know if you need this in 0.3.0.

Thanks,

Kazutaka



More information about the sheepdog mailing list