[sheepdog] [PATCH v1 0/5] using disks to generate vnodes instead of nodes
Robin Dong
robin.k.dong at gmail.com
Tue Apr 29 04:53:40 CEST 2014
From: Robin Dong <sanbai at taobao.com>
When a disk is fail in a sheepdog cluster, it will only moving data in one node
to recovery data at present. This progress is very slow if the corrupted disk is
very large (for example, 4T).
The solution to accelerate the speed of recovering is using disks to generate
vnodes so the failing of one disk will cause whole cluster to reweight and
moving data.
Signed-off-by: Robin Dong <sanbai at taobao.com>
---
Robin Dong (5):
sheep: add new option for configure
sheep: add disk information into sd_node
sheep: change method of generating vnodes
sheep/md: change the method of generating vnodes in md
sheep: cache vnode_info when doing recovery
configure.ac | 10 ++++++
include/internal_proto.h | 23 ++++++++++--
include/sheep.h | 26 ++++++++++++++
sheep/config.c | 9 ++++-
sheep/group.c | 58 ++++++++++++++++++++++++++++--
sheep/md.c | 91 +++++++++++++++++++++++++++++++++++-------------
sheep/recovery.c | 46 +++++++++++++++++++++---
sheep/sheep.c | 6 ++++
sheep/sheep_priv.h | 28 +++++++++++++++
9 files changed, 262 insertions(+), 35 deletions(-)
--
1.7.12.4
More information about the sheepdog
mailing list