[sheepdog] [PATCH v4 0/7] md: add hot-plug and hot-unplug support
Liu Yuan
namei.unix at gmail.com
Wed Apr 3 17:02:55 CEST 2013
From: Liu Yuan <tailai.ly at taobao.com>
v4:
- don't mkdir in md_init_space, instead mkdir in md_add_disk.
v3:
- continue process when get_path_size() fails in md_get_info()
- strlen correction in collie node md command
- comment correction
v2:
- fix object stale purging for md
This is the final part for MD. With this patch set, We even allow group plug,
group unplug and disks/node failure during (un)plugging.
Also add disk information function for collie.
Liu Yuan (7):
md: add support for simultaneous disk failure on the same node
tests/055: test simultaneous multiple disk failures on the same node
net: enlarge connect_to_addr() scope
md: add hot-plug and hot-unplug support
collie: add new commands to manipulate multi-disks
sheep: remove duplicate recovery complete notification
tsets: add 057 to test md hot-plug and hot-unplug
collie/collie.c | 2 +-
collie/node.c | 161 +++++++++++++++++++++++
include/internal_proto.h | 16 +++
include/net.h | 8 ++
include/sheepdog_proto.h | 2 +
sheep/md.c | 318 ++++++++++++++++++++++++++++++++--------------
sheep/ops.c | 59 ++++++++-
sheep/sheep_priv.h | 5 +-
sheep/sockfd_cache.c | 8 --
sheep/store.c | 3 +-
tests/055 | 7 +
tests/055.out | 8 ++
tests/057 | 57 +++++++++
tests/057.out | 55 ++++++++
tests/group | 1 +
15 files changed, 604 insertions(+), 106 deletions(-)
create mode 100755 tests/057
create mode 100644 tests/057.out
--
1.7.9.5
More information about the sheepdog
mailing list