[sheepdog] [PATCH v2 0/2] refactor object cache

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Dec 26 04:51:04 CET 2013


This patchset does refactoring of the object cache mechanism. The busy wait of
pushing is removed. The first one implements a new wrapper of
pthread_mutex_trylock() because second one requires it.

Hitoshi Mitake (2):
  lib: add a wrapper for pthread_mutex_trylock()
  sheep: use mutex instead of busy waiting for object pushing control

 include/util.h       |    5 +++++
 sheep/object_cache.c |   19 +++++++++----------
 2 files changed, 14 insertions(+), 10 deletions(-)

-- 
1.7.10.4




More information about the sheepdog mailing list