[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


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






More information about the sheepdog mailing list