WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] [XM-TEST] block device write verify test 3rd att

To: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] [XM-TEST] block device write verify test 3rd attempt
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 1 Jun 2006 11:48:55 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Jun 2006 03:49:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148557618.7761.9.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1148557618.7761.9.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, May 25, 2006 at 12:46:58PM +0100, Harry Butterworth wrote:

> Signed-off-by: Harry Butterworth <butterwo@xxxxxxxxxx>
> 
> The differences from the last version of the patch are that...
> 
> 1) The patch no longer enables fancy head in the BusyBox config.
> 2) The patch uses `dd` rather than `head -c`.
> 3) The patch uses `cat /sys/block/hda1/size` in place of `cat /dev/hda1
> | wc -c`.  This gives maybe a 30% performance improvement at the cost of
> a dependency on the sys filesystem layout and contents.
> 
> >From the patch:
> 
> +# This test imports a ram disk device as a physical device into a domU.
> +# The domU initialises the ram disk with data from /dev/urandom and
> calculates
> +# the md5 checksum of the data (using tee as it is written so as to
> avoid
> +# reading it back from the device which might potentially mask
> problems).
> +# The domU is stopped and the md5 checksum of the data on the device is
> +# calculated by dom0.  The test succeeds if the checksums match,
> indicating
> +# that all the data written by domU was sucessfully committed to the
> device.
> +
> 
> This patch also enables tee in BusyBox on the ramdisk and increments the
> xm-test minor version number.  I have tested the patch (again for this
> 3rd version) with both `make existing' where the tests run but the new
> test fails because the ramdisk is missing tee and `make` where the test
> builds the new ramdisk and passes successfully.
> 
> The patch also installs the block-integrity tests in the default test
> set so they get executed.

Applied, thanks Harry.  I've bumped the version number to 0.8, not 0.7.2 --
if the ramdisk changes, you need to bump the middle digit.

Everyone -- this means that you'll have to download or build a new ramdisk.  A
new one will be on xm-test by the end of the day.

Cheers,

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [PATCH] [XM-TEST] block device write verify test 3rd attempt, Ewan Mellor <=