From patchwork Wed Apr 13 00:47:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Durgin X-Patchwork-Id: 90905 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 32F53B6F53 for ; Wed, 13 Apr 2011 11:38:01 +1000 (EST) Received: from localhost ([::1]:58350 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9p1q-0007hr-0q for incoming@patchwork.ozlabs.org; Tue, 12 Apr 2011 21:37:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9ozk-0004Ho-Aw for qemu-devel@nongnu.org; Tue, 12 Apr 2011 21:35:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9oG8-0005aO-I7 for qemu-devel@nongnu.org; Tue, 12 Apr 2011 20:48:41 -0400 Received: from mail.hq.newdream.net ([66.33.206.127]:34067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9oG8-0005aK-Ay for qemu-devel@nongnu.org; Tue, 12 Apr 2011 20:48:40 -0400 Received: from mail.hq.newdream.net (localhost [127.0.0.1]) by mail.hq.newdream.net (Postfix) with ESMTP id CD40FC065; Tue, 12 Apr 2011 17:48:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=dreamhost.com; h=from:to:cc :subject:date:message-id:in-reply-to:references; q=dns; s= dreamhost.com; b=lMNks2q7Io/Cwrpa3cYChcashkYu046ji/eWvipKIr5jy8m lSOU2zvrLvorEXkxqfqeXZZ0yMLhyBK7zgwI8LzyM6yiH6TQZuHflKPOEnGnpyaR /uVPLJkF48AtrZPuRFeIlMtcikw/zgJ/yrvMuJSiXYS74YcUpZ/KuZGKSlt4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dreamhost.com; h=from:to :cc:subject:date:message-id:in-reply-to:references; s= dreamhost.com; bh=Eg6oh+F+jV/VxqS5kLEtBtgskB8=; b=Na/tZb0MFJG/uS PlMaEkxLzeEiUrMVJX0yp6gNd74UL1qXIRAsYoDL4oecVk3KZCbtlvgauJ4ylR4R U//ZIXQHfzxx/ITUJWgVEp/Naa1AXUnwNoHndi+iUx/ulWnTMKTvwMSxtsUGXiOP 1C5MM6uGShymwdsVzIc7VN0CgBATs= Received: from pudgy.ops.newdream.net (ip-66-33-206-8.dreamhost.com [66.33.206.8]) by mail.hq.newdream.net (Postfix) with ESMTP id C8810C062; Tue, 12 Apr 2011 17:48:39 -0700 (PDT) From: Josh Durgin To: kvm@vger.kernel.org, qemu-devel@nongnu.org Date: Tue, 12 Apr 2011 17:47:45 -0700 Message-Id: <1302655665-30101-1-git-send-email-josh.durgin@dreamhost.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.33.206.127 Cc: ceph-devel@vger.kernel.org, Christoph Hellwig Subject: [Qemu-devel] [qemu-iotests][PATCH] Update rbd support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org rbd is not growable, so test 016 is skipped. rbd implements bdrv_truncate, so test 025 will work. Signed-off-by: Josh Durgin --- 016 | 4 ++++ 025 | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/016 b/016 index 16f151f..8fa921f 100755 --- a/016 +++ b/016 @@ -43,6 +43,10 @@ _supported_fmt raw _supported_proto generic _supported_os Linux +# rbd images are not growable +if [ "$IMGPROTO" = "rbd" ]; then + _notrun "image protocol $IMGPROTO does not support growable images" +fi size=128M _make_test_img $size diff --git a/025 b/025 index fba44a4..691b6da 100755 --- a/025 +++ b/025 @@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.pattern _supported_fmt raw qcow2 -_supported_proto file sheepdog +_supported_proto file sheepdog rbd _supported_os Linux echo "=== Creating image"