[sheepdog] [PATCH v3 0/8] redesign a new cache fd pool

Liu Yuan namei.unix at gmail.com
Tue Jun 26 10:45:36 CEST 2012


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

v3:
 - fix forward_read_obj_req()

v2:
 - address some coding style problems
 - embed node_id into struct sd_node, sd_vnode
 - remove vnode_node_cmp and node_cmp, use node_id_cmp instead
 - add some more comments

Liu Yuan (8):
  sheep: redesign a new cached sockfd pool
  sheep: use new sockfd cache
  sheep, sockfd cache: cache more than one FD for each node
  sheep: refactor forward_write_obj_req()
  sheep: output hex for error code
  sheep: try best forward_read_obj_req()
  sheep: embed struct node_id into struct {sd_node, sd_vnode}
  sheep: use node_id_cmp to compare node

 collie/cluster.c      |    2 +-
 collie/node.c         |   14 +-
 collie/vdi.c          |   26 ++--
 include/sheep.h       |   52 +++----
 lib/net.c             |    6 +-
 sheep/Makefile.am     |    2 +-
 sheep/cluster.h       |    8 +-
 sheep/cluster/local.c |    2 +-
 sheep/gateway.c       |  244 +++++++++++++++++++------------
 sheep/group.c         |   35 +++--
 sheep/ops.c           |    6 +-
 sheep/recovery.c      |   20 +--
 sheep/sdnet.c         |   66 +--------
 sheep/sheep.c         |    2 +-
 sheep/sheep_priv.h    |   20 ++-
 sheep/sockfd_cache.c  |  386 +++++++++++++++++++++++++++++++++++++++++++++++++
 sheep/store.c         |   10 +-
 17 files changed, 638 insertions(+), 263 deletions(-)
 create mode 100644 sheep/sockfd_cache.c

-- 
1.7.10.2




More information about the sheepdog mailing list