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 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs