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

Liu Yuan namei.unix at gmail.com
Mon Jan 21 13:32:25 CET 2013


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

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 |  475 +++++++++++++++++++++++---------------------------
 sheep/ops.c          |    2 +-
 sheep/plain_store.c  |    2 +
 sheep/sheep_priv.h   |    3 +-
 4 files changed, 220 insertions(+), 262 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list