Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 15:19:01 +0100
From:      Peter Holm <peter@holm.cc>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: namecache: numneg > 0 but ncneg is empty
Message-ID:  <20131219141901.GA19520@x2.osted.lan>
In-Reply-To: <52B2F8BF.9050504@FreeBSD.org>
References:  <52B16847.8090905@FreeBSD.org> <20131219070350.GM59496@kib.kiev.ua> <52B2A6AC.3070902@FreeBSD.org> <20131219081218.GA12747@x2.osted.lan> <52B2F8BF.9050504@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 19, 2013 at 03:46:39PM +0200, Andriy Gapon wrote:
> on 19/12/2013 10:12 Peter Holm said the following:
> > On Thu, Dec 19, 2013 at 09:56:28AM +0200, Andriy Gapon wrote:
> >> Peter,
> >>
> >> I am curious about what ideology is behind vfs testing in stress2.  I know that
> >> I can just look at the code myself, but hope that asking you could be faster.
> >> Does stress2 exercise a certain set of scenarios?  Or does it have an element of
> >> randomness?
> >>
> > 
> > The tests found in stress2/testcases does everything in a random
> > fashion.
> 
> Could you please add a few words about what kind of randomness is that?
> E.g. I looked at testcases/rename and it seems to do pretty predictable and
> linear renaming of files within the same directory.  Also, it seems that the
> test would be aborted should a rename operation fail.  But that would be a valid
> outcome in a truly random / chaotic testing.
> 
> > Test found in stress2/misc are for the most part scenarios that has
> > been used for finding specific problems.
> 
> 
> -- 
> Andriy Gapon

For testcases/rename the number of files to rename is controlled by
the random number of invocations of this test. Two new rename
scenarios was added recently by jmg@ to address specific SU+J issues.
More rename scenarios can be found in stress2/misc/rename*

-- 
Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131219141901.GA19520>