[sheepdog] [PATCH v2 0/2] clean up list functions

MORITA Kazutaka morita.kazutaka at gmail.com
Tue Aug 20 03:01:44 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

v2:
 - Fixed compile errors of zk driver and unittest.

MORITA Kazutaka (2):
  make list iterator functions safe against removal of entry
  split list_head into list_head and list_node

 dog/farm/farm.c           |    7 +--
 dog/farm/object_tree.c    |    6 +-
 dog/trace.c               |    5 +-
 dog/treeview.c            |   10 ++--
 include/list.h            |  139 ++++++++++++++++++++++-----------------------
 include/work.h            |    2 +-
 lib/event.c               |    2 +-
 lib/logger.c              |    2 +-
 lib/util.c                |   36 ++++++------
 lib/work.c                |    2 +-
 sheep/cluster.h           |    2 +-
 sheep/cluster/corosync.c  |    2 +-
 sheep/cluster/shepherd.c  |    4 +-
 sheep/cluster/zookeeper.c |    6 +-
 sheep/group.c             |   12 ++--
 sheep/object_cache.c      |   32 +++++------
 sheep/object_list_cache.c |    6 +-
 sheep/request.c           |   23 ++++----
 sheep/sheep_priv.h        |    6 +-
 sheep/trace/trace.h       |    2 +-
 sheep/vdi.c               |    2 +-
 shepherd/shepherd.c       |    8 +--
 tests/unit/mock/mock.h    |    2 +-
 23 files changed, 153 insertions(+), 165 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list