[sheepdog] [PATCH v2 0/3] some gateway cleanup

Liu Yuan namei.unix at gmail.com
Tue Jul 10 08:22:59 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

This patch set is for next branch.

v2:
 - drop sheep: move peer operations into a dedicated file
 - add a map table to translate gateway opcode to peer opcode
 - opencode do_gateway_write_obj()

Liu Yuan (3):
  sheep: built-in two std headers for util.h
  gateway: refactor write and remove functions
  gateway: init forward hrd in gateway_forward_request()

 include/internal_proto.h |    8 ++--
 include/util.h           |    2 +
 sheep/gateway.c          |  114 +++++++++++-----------------------------------
 sheep/ops.c              |   19 ++++++++
 sheep/sheep_priv.h       |    2 +
 5 files changed, 54 insertions(+), 91 deletions(-)

-- 
1.7.10.2




More information about the sheepdog mailing list