[sheepdog] [PATCH v2 0/6] remove simple store
Liu Yuan
namei.unix at gmail.com
Sat May 19 17:11:19 CEST 2012
From: Liu Yuan <tailai.ly at taobao.com>
v1 -> v2:
- reorder patch set
- remove locking mechanism inside Farm. Let's consider it for later patch set
- remove unused functions after removing simple store
Simple store has many constraints, to name a few:
1) can't handle stale objects easily
2) can't support concurrent access to the same object easily
3) need outstanding IO to block confchg
Currently Farm runs as well as expected, both by performance and stability, so
we'd better remove it and redesign a abstracted store layer oriented for Farm.
We'll add concurrent access to the same object soon by later patch set.
Liu Yuan (6):
collie: use 'farm' as default store driver
remove simple store support
farm: refactor core code
fix sys->epoch race
store: remove update_epoch_store()
store: remove get_store_dir()
collie/cluster.c | 2 +-
include/util.h | 5 +-
sheep/Makefile.am | 2 +-
sheep/farm/farm.c | 198 +++++++++++++++-------------
sheep/farm/snap.c | 2 +-
sheep/group.c | 8 +-
sheep/object_cache.c | 11 +-
sheep/ops.c | 57 ++------
sheep/recovery.c | 16 +--
sheep/sheep_priv.h | 14 +-
sheep/simple_store.c | 354 --------------------------------------------------
sheep/store.c | 11 --
12 files changed, 144 insertions(+), 536 deletions(-)
delete mode 100644 sheep/simple_store.c
--
1.7.10.2
More information about the sheepdog
mailing list