From owner-freebsd-fs@FreeBSD.ORG Thu Dec 19 13:47:21 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 E0F0339F for ; Thu, 19 Dec 2013 13:47:21 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE26121A for ; Thu, 19 Dec 2013 13:47:20 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA12311; Thu, 19 Dec 2013 15:47:17 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Vtdwa-0000IC-PR; Thu, 19 Dec 2013 15:47:16 +0200 Message-ID: <52B2F8BF.9050504@FreeBSD.org> Date: Thu, 19 Dec 2013 15:46:39 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Peter Holm Subject: Re: namecache: numneg > 0 but ncneg is empty References: <52B16847.8090905@FreeBSD.org> <20131219070350.GM59496@kib.kiev.ua> <52B2A6AC.3070902@FreeBSD.org> <20131219081218.GA12747@x2.osted.lan> In-Reply-To: <20131219081218.GA12747@x2.osted.lan> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 13:47:21 -0000 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