From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcGMw-0003oV-MU for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:10:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcGMo-0002Ct-8t for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:10:38 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:33377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcGMo-0002Cn-1U for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:10:30 -0400 Received: by mail-pa0-f49.google.com with SMTP id lj1so4134067pab.36 for ; Fri, 01 Nov 2013 08:10:29 -0700 (PDT) From: Liu Yuan Date: Fri, 1 Nov 2013 23:10:11 +0800 Message-Id: <1383318613-490-1-git-send-email-namei.unix@gmail.com> Subject: [Qemu-devel] [PATCH v5 RESENT 0/2] sheepdog: add user-defined redundancy option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sheepdog@lists.wpkg.org v5: - use pstrcpy instead of strncpy - fix a segfalt for 'null' string option string v4: - fix do_sd_create that forgot to pass nr_copies - fix parse_redundancy dealing with replicated vdi v3: - rework is_numeric v2: - fix a typo in comment and commit log This patch set add one sheepdog specific option for qemu-img to control redundancy. This patch set is on top of Kevin's block tree. Liu Yuan (2): sheepdog: refactor do_sd_create() sheepdog: support user-defined redundancy option block/sheepdog.c | 127 +++++++++++++++++++++++++++++++++++++-------- include/block/block_int.h | 1 + 2 files changed, 105 insertions(+), 23 deletions(-) -- 1.7.9.5