[sheepdog] [PATCH v3 0/3] queue local gateway request instead of directly call forward_*_obj_req
levin li
levin108 at gmail.com
Wed Jun 27 05:07:45 CEST 2012
From: levin li <xingke.lwp at taobao.com>
v2 --> v3 :
1. move eventfd_write() outside mutex
2. rebase to latest master
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 | 102 +++++++++++++++++++++++++++++++++++++++++---
sheep/sheep.c | 2 +
sheep/sheep_priv.h | 24 +++++++----
sheep/store.c | 114 +++++++++++++++-----------------------------------
sheep/vdi.c | 53 ++++++++++-------------
8 files changed, 188 insertions(+), 154 deletions(-)
--
1.7.10
More information about the sheepdog
mailing list