[Sheepdog] [PATCH v2] add some candy helpers
Liu Yuan
namei.unix at gmail.com
Wed Nov 16 11:37:20 CET 2011
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(-)
More information about the sheepdog
mailing list