From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcGJ8-0007uI-Qz for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcGJ0-0000wK-C2 for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:06:42 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:37183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcGJ0-0000wG-5h for qemu-devel@nongnu.org; Fri, 01 Nov 2013 11:06:34 -0400 Received: by mail-pa0-f51.google.com with SMTP id ld10so4198532pab.10 for ; Fri, 01 Nov 2013 08:06:33 -0700 (PDT) From: Liu Yuan Date: Fri, 1 Nov 2013 23:06:20 +0800 Message-Id: <1383318382-32391-1-git-send-email-namei.unix@gmail.com> Subject: [Qemu-devel] [PATCH v5 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