xfs
[Top] [All Lists]

Re: [PATCH 6/8] xfstests: add fallocate/truncate vs AIO/DIO stress test

To: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
Subject: Re: [PATCH 6/8] xfstests: add fallocate/truncate vs AIO/DIO stress test
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 19 Feb 2013 10:43:16 +1100
Cc: xfs@xxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, dchinner@xxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1360745403-6373-7-git-send-email-dmonakhov@xxxxxxxxxx>
References: <1360745403-6373-1-git-send-email-dmonakhov@xxxxxxxxxx> <1360745403-6373-7-git-send-email-dmonakhov@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Feb 13, 2013 at 12:50:01PM +0400, Dmitry Monakhov wrote:
> Run  DIO, fallocate and truncate threads on a common file in parallel.
> If race exist old dio request may rewrite blocks after it was allocated
> to another file, we will catch that by verifying blocks content.
> 
> this patch known to catch deadlock for ext4
> http://lists.openwall.net/linux-ext4/2012/09/06/3
> 
> Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
> ---
>  286     |  157 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  286.out |    5 ++
>  group   |    1 +
>  3 files changed, 163 insertions(+), 0 deletions(-)
>  create mode 100755 286
>  create mode 100644 286.out
> 
> diff --git a/286 b/286
> new file mode 100755
> index 0000000..588387c
> --- /dev/null
> +++ b/286
> @@ -0,0 +1,157 @@
> +#! /bin/bash
> +# FSQA Test No. 286
> +#
> +# AIO/DIO stress test
> +# Run random AIO/DIO activity and fallocate/truncate simultaneously
> +# Test will operate on huge sparsed files so ENOSPC is expected.
> +#
> +#-----------------------------------------------------------------------
> +# Copyright (c) 2006 Silicon Graphics, Inc.  All Rights Reserved.

I think you need to put the correct copyright statements in these
new tests ;)

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>