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: 702511 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3D0mhCv002867 for ; Wed, 13 Apr 2011 00:48:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757499Ab1DMAsk (ORCPT ); Tue, 12 Apr 2011 20:48:40 -0400 Received: from mail.hq.newdream.net ([66.33.206.127]:49755 "EHLO mail.hq.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755518Ab1DMAsj (ORCPT ); Tue, 12 Apr 2011 20:48:39 -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 Cc: ceph-devel@vger.kernel.org, Christoph Hellwig Subject: [qemu-iotests][PATCH] Update rbd support 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: Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 13 Apr 2011 00:48:44 +0000 (UTC) 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"