From owner-freebsd-fs@FreeBSD.ORG Thu Dec 19 14:25:46 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38E76633 for ; Thu, 19 Dec 2013 14:25:46 +0000 (UTC) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id E28D5157A for ; Thu, 19 Dec 2013 14:25:45 +0000 (UTC) Received: (qmail 30046 invoked from network); 19 Dec 2013 14:19:02 -0000 Received: from 87.58.146.155 (HELO x2.osted.lan) (87.58.146.155) by relay00.pair.com with SMTP; 19 Dec 2013 14:19:02 -0000 X-pair-Authenticated: 87.58.146.155 Received: from x2.osted.lan (localhost [127.0.0.1]) by x2.osted.lan (8.14.5/8.14.5) with ESMTP id rBJEJ1Wj019706; Thu, 19 Dec 2013 15:19:02 +0100 (CET) (envelope-from pho@x2.osted.lan) Received: (from pho@localhost) by x2.osted.lan (8.14.5/8.14.5/Submit) id rBJEJ1vK019705; Thu, 19 Dec 2013 15:19:01 +0100 (CET) (envelope-from pho) Date: Thu, 19 Dec 2013 15:19:01 +0100 From: Peter Holm To: Andriy Gapon Subject: Re: namecache: numneg > 0 but ncneg is empty Message-ID: <20131219141901.GA19520@x2.osted.lan> References: <52B16847.8090905@FreeBSD.org> <20131219070350.GM59496@kib.kiev.ua> <52B2A6AC.3070902@FreeBSD.org> <20131219081218.GA12747@x2.osted.lan> <52B2F8BF.9050504@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52B2F8BF.9050504@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 14:25:46 -0000 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