From: Liu Yuan <tailai...@taobao.com> 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 | 321 ++++++++++++++++++++++++++++++++-------------- 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, 607 insertions(+), 106 deletions(-) create mode 100755 tests/057 create mode 100644 tests/057.out -- 1.7.9.5