[sheepdog] [PATCH 0/6] md: add hot-plug and hot-unplug support

Liu Yuan namei.unix at gmail.com
Thu Mar 28 16:38:46 CET 2013


From: Liu Yuan <tailai.ly at taobao.com>

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 (6):
  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
  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              |   45 +++++++
 sheep/sheep_priv.h       |    5 +-
 sheep/sockfd_cache.c     |    8 --
 sheep/store.c            |    3 +-
 tests/055                |    7 +
 tests/055.out            |    8 ++
 tests/057                |   54 ++++++++
 tests/057.out            |   55 ++++++++
 tests/group              |    1 +
 15 files changed, 591 insertions(+), 105 deletions(-)
 create mode 100755 tests/057
 create mode 100644 tests/057.out

-- 
1.7.9.5




More information about the sheepdog mailing list