[sheepdog] [PATCH v2 0/6] object cache fixes

Liu Yuan namei.unix at gmail.com
Mon Jan 21 13:56:26 CET 2013


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

V2:
 - fix checkpath warnings
 - fix cache entry update for write

This patch set fixes seraval fatal object ache bugs:

1) wrong usage of rculist
2) ill-calculation of object cache size for deletion
3) don't clean up the cache for format operation
4) false claim after restart that lead to guset currupted.

And does some code clean ups.

Liu Yuan (6):
  object cache: drop dirty tree
  object cache: clean up cache for format operation
  object cache: clean up and fix cache size calculation
  object cache: fix false reclaim after sheep restart
  object cache: use a per vdi lru list for reclaimer
  object cache: delay reclaimer for a newly pulled object

 sheep/object_cache.c |  480 +++++++++++++++++++++++---------------------------
 sheep/ops.c          |    2 +-
 sheep/plain_store.c  |    2 +
 sheep/sheep_priv.h   |    3 +-
 4 files changed, 226 insertions(+), 261 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list