Received: from eggs.gnu.org ([208.118.235.92]:53058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULS5I-0003wm-IZ for qemu-devel@nongnu.org; Fri, 29 Mar 2013 01:42:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULS5H-0003sk-7A for qemu-devel@nongnu.org; Fri, 29 Mar 2013 01:42:40 -0400 Received: from mail-da0-x22e.google.com ([2607:f8b0:400e:c00::22e]:51207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULS5G-0003sZ-W1 for qemu-devel@nongnu.org; Fri, 29 Mar 2013 01:42:39 -0400 Received: by mail-da0-f46.google.com with SMTP id y19so108299dan.5 for ; Thu, 28 Mar 2013 22:42:37 -0700 (PDT) From: Liu Yuan Date: Fri, 29 Mar 2013 13:42:17 +0800 Message-Id: <1364535744-8707-1-git-send-email-namei.unix@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/7] md: add hot-plug and hot-unplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Liu Yuan 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