[sheepdog] [PATCH 0/3] introduce object allocator for http container

Liu Yuan namei.unix at gmail.com
Fri Nov 29 04:37:48 CET 2013


This patch set mainly introduce a object allocator with a minimal code base,
for future container use.

Also fix a bug introduced by hyper volume for discard operation

Liu Yuan (3):
  sheep, dog: rename some read/write_object helpers
  sheep: fix local_discard_obj
  http: add object allocator

 dog/common.c                  |   21 +--
 dog/dog.h                     |   10 +-
 dog/farm/farm.c               |    4 +-
 dog/vdi.c                     |   66 ++++-----
 sheep/Makefile.am             |    3 +-
 sheep/http/http.h             |    6 +
 sheep/http/kv.c               |   42 +++---
 sheep/http/oalloc.c           |  304 +++++++++++++++++++++++++++++++++++++++++
 sheep/ops.c                   |   16 +--
 sheep/sheep_priv.h            |   10 +-
 sheep/store.c                 |   10 +-
 sheep/vdi.c                   |  116 ++++++++--------
 tests/unit/sheep/mock_store.c |    6 +-
 13 files changed, 467 insertions(+), 147 deletions(-)
 create mode 100644 sheep/http/oalloc.c

-- 
1.7.9.5




More information about the sheepdog mailing list