[sheepdog] [PATCH 0/2] sheep: reduce the backend store dependencies
Saeki Masaki
saeki.masaki at po.ntts.co.jp
Wed Feb 25 07:27:19 CET 2015
- Previous message: [sheepdog] [PATCH] Modified zookeeper driver to support multi-sheep cluster in one zookeeper cluster. In order to distinguish different sheep cluster in one zookeeper, one more level directory is added in znode as domain. The same domain means the same sheep cluster. For example, the current directory tree seems like /sheepdog/(queue, member, master, lock), in this patch, it seems like /sheepdog/domain/(queue, member, master, lock). In sheep.c, cluster_help is modified for tips, In zookeeper.c, all codes related to znode path is modified.
- Next message: [sheepdog] [PATCH 0/2] sheep: reduce the backend store dependencies
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
dog cluster command supports --store option.
but current sheepdog only support plain store.
and internal plain store function is referenced from some other function directly.
(ex. md.c / journal.c)
these reference prevents expansion to add another backend store driver.
this patch set reduce reference of plain_store.c 's internal function.
to make it easier to implement the expansion of backend store driver.
Signed-off-by: Masaki Saeki <saeki.masaki at po.ntts.co.jp>
---
include/util.h | 1 +
lib/util.c | 16 ++++++++++++++++
sheep/md.c | 16 ++++++++++++----
sheep/plain_store.c | 35 ++++++-----------------------------
sheep/sheep_priv.h | 5 +----
5 files changed, 36 insertions(+), 37 deletions(-)
--
1.7.1
- Previous message: [sheepdog] [PATCH] Modified zookeeper driver to support multi-sheep cluster in one zookeeper cluster. In order to distinguish different sheep cluster in one zookeeper, one more level directory is added in znode as domain. The same domain means the same sheep cluster. For example, the current directory tree seems like /sheepdog/(queue, member, master, lock), in this patch, it seems like /sheepdog/domain/(queue, member, master, lock). In sheep.c, cluster_help is modified for tips, In zookeeper.c, all codes related to znode path is modified.
- Next message: [sheepdog] [PATCH 0/2] sheep: reduce the backend store dependencies
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the sheepdog
mailing list