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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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