[sheepdog] [PATCH v3 0/3] fix discard operation while cache enabled
Liu Yuan
namei.unix at gmail.com
Wed Jul 17 10:12:32 CEST 2013
v3:
- add a assert()
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 | 60 ++++++++++++++++++++++++++++++++++++----------
sheep/sheep_priv.h | 1 +
sheep/store.c | 6 +++++
tests/functional/058 | 6 ++---
tests/functional/058.out | 4 ----
5 files changed, 58 insertions(+), 19 deletions(-)
--
1.7.9.5
More information about the sheepdog
mailing list