qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@dreamhost.com>
To: kvm@vger.kernel.org, qemu-devel@nongnu.org
Cc: ceph-devel@vger.kernel.org, Christoph Hellwig <hch@lst.de>
Subject: [Qemu-devel] [qemu-iotests][PATCH] Update rbd support
Date: Tue, 12 Apr 2011 17:47:45 -0700	[thread overview]
Message-ID: <1302655665-30101-1-git-send-email-josh.durgin@dreamhost.com> (raw)
In-Reply-To: <cover.1302653035.git.josh.durgin@dreamhost.com>

rbd is not growable, so test 016 is skipped.

rbd implements bdrv_truncate, so test 025 will work.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
---
 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"
-- 
1.7.2.3

  parent reply	other threads:[~2011-04-13  1:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13  0:45 [Qemu-devel] [PATCH v3 0/4] rbd improvements Josh Durgin
2011-04-13  0:45 ` [Qemu-devel] [PATCH v3 1/4] rbd: use the higher level librbd instead of just librados Josh Durgin
2011-04-13  0:45 ` [Qemu-devel] [PATCH v3 2/4] rbd: allow configuration of rados from the rbd filename Josh Durgin
2011-04-13  0:45 ` [Qemu-devel] [PATCH v3 3/4] rbd: check return values when scheduling aio Josh Durgin
2011-04-13  0:45 ` [Qemu-devel] [PATCH v3 4/4] rbd: Add bdrv_truncate implementation Josh Durgin
2011-04-13  0:47 ` Josh Durgin [this message]
2011-04-13  2:43   ` [Qemu-devel] [qemu-iotests][PATCH] Update rbd support Christoph Hellwig
2011-04-13  5:42     ` Josh Durgin
2011-04-21  6:49       ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1302655665-30101-1-git-send-email-josh.durgin@dreamhost.com \
    --to=josh.durgin@dreamhost.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=hch@lst.de \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).