[Sheepdog] [PATCH v2 0/5] introduce SD_STATUS_HALT to stop serving IO
Liu Yuan
namei.unix at gmail.com
Sun Oct 16 12:35:10 CEST 2011
This patch set introduce a new cluster status into sheepdog, whichi is supposed
to prevent sheepdog from serving IO when lack of redundant nodes.
Changes from v1 to v2 are:
- refactor's get_cluster_status() to prepare the code for change.
- address Kazutaka's comments.
- make cluster 'halt' optionally.
Liu Yuan (5):
sheep: refactor get_cluster_status()
sheep: remove wrong 'unknown message' in the log
sheep: introduce SD_STATUS_HALT
sheep: add a helper function to get nr_zones
sheep: use SD_STATUS_HALT to stop serving IO
collie/cluster.c | 14 +++-
collie/collie.c | 1 +
include/sheep.h | 1 +
include/sheepdog_proto.h | 1 +
sheep/group.c | 209 +++++++++++++++++++++++++++++-----------------
sheep/sheep_priv.h | 3 +
6 files changed, 150 insertions(+), 79 deletions(-)
Thanks,
Yuan
More information about the sheepdog
mailing list