[sheepdog] [PATCH v2 0/3] fix discard operation while cache enabled

Liu Yuan namei.unix at gmail.com
Mon Jul 15 08:28:45 CEST 2013


v2:
 - don't use 'entry' in object_cache_remove() after it is freed

This patch set mainly fix discard operation while cache enabled.

Liu Yuan (3):
  tests/functional/058: refine the test to catch more bug
  cache: add oid_to_entry helper
  sheep: remove cache object for discard operation

 sheep/object_cache.c     |   58 ++++++++++++++++++++++++++++++++++++----------
 sheep/sheep_priv.h       |    1 +
 sheep/store.c            |    6 +++++
 tests/functional/058     |    6 ++---
 tests/functional/058.out |    4 ----
 5 files changed, 56 insertions(+), 19 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list