From: levin li <xingke.lwp at taobao.com> v1 --> v2 : use eventfd to make sure queue_request is called in main thread. levin li (3): sheep: queue local gateway request instead of directly call forward_*_obj_req sheep: make push_cache_object() queue a local gateway request sheep: cleanup the api of read/write/remove_object() and push_cache_object() sheep/gateway.c | 3 +- sheep/group.c | 1 + sheep/object_cache.c | 43 ++++++++----------- sheep/sdnet.c | 105 +++++++++++++++++++++++++++++++++++++++++++--- sheep/sheep.c | 2 + sheep/sheep_priv.h | 25 +++++++---- sheep/store.c | 114 +++++++++++++++----------------------------------- sheep/vdi.c | 56 ++++++++++--------------- 8 files changed, 193 insertions(+), 156 deletions(-) -- 1.7.10 |