Re: [Qemu-devel] [qemu-iotests][PATCH] Update rbd support

2011-04-21 Thread Christoph Hellwig
On Tue, Apr 12, 2011 at 10:42:00PM -0700, Josh Durgin wrote:
  I suspect we only support the weird writing past size for the
  file protocol, so we should only run the test for it.
  
  Or does sheepdog do anything special about it?
 
 Sheepdog supports it by truncating to the right size if a write
 would be past the end. I'm not sure if other protocols support
 it.

I've changed 016 to require the file or sheepdog protocols, and then
applied the rest of your patch.  Thanks a lot!
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Qemu-devel] [qemu-iotests][PATCH] Update rbd support

2011-04-12 Thread Christoph Hellwig
 @@ -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

I suspect we only support the weird writing past size for the
file protocol, so we should only run the test for it.

Or does sheepdog do anything special about it?

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Qemu-devel] [qemu-iotests][PATCH] Update rbd support

2011-04-12 Thread Josh Durgin
On Wed, 13 Apr 2011 04:43:39 +0200, Christoph Hellwig h...@lst.de
wrote:
 @@ -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
 
 I suspect we only support the weird writing past size for the
 file protocol, so we should only run the test for it.
 
 Or does sheepdog do anything special about it?

Sheepdog supports it by truncating to the right size if a write
would be past the end. I'm not sure if other protocols support
it.
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html