Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp165458ybk; Tue, 12 May 2020 18:55:03 -0700 (PDT) X-Google-Smtp-Source: APiQypIQX7jmLQSJbVgBuRkKFVrCs/XP8A9wVcGMCqQqHb5Mts2vjRVTsWlLM0leAzlgWmW81tcR X-Received: by 2002:a17:907:2054:: with SMTP id pg20mr19333166ejb.127.1589334903473; Tue, 12 May 2020 18:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589334903; cv=none; d=google.com; s=arc-20160816; b=hdOVSkwCtFBkQxBpigvXWM4mAlDvsB5KYlinyslaO9VnasR5lw/0cexSJfDctdwqf7 hFtV6X+smXbrvDuW2tDP1lyVL0EC+w3uMdsBap0KlJCxUMAKiGsgDmw5J3sw007W1ffZ PpPjL+M8P2MkqLNACjQ5elp2E4pp8vtS6+gb0Pqgl0a4HdmBJ8RFIwFyfvVQDeq575Yw O7gEcZJzIeuxB7nOoFRM8+gBCYdAcw11Bsox9Sb9W7cz1LDDMU+f9+C8MIZhmyuewrEG wYC2IiZhC8FPT1rgCHBpCCFy6RMju3DttCgsYbB59uXT+vuPtcaaDqySxNyQSZy+wge9 bE/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sL8YzySk0bHRZinZX2ojvzV2/gGg/4FMEg0h5X97bmk=; b=Lp7GfZDfNGwgMM43W1y48EJM3arGGAlxOnv+uFLRggyR3RTLIkp05NDL2JecYEGVqq Mk8uYqMYoPKSbJgDifTBCyRBcXKHkEO3E4+2h6QLp3OP3esPCd0NN9tBSwhdI/vrJ1y/ /VzFo/jIAotmOtR3fGa9gkWOoyGW+AIJ2ggn+OGzGfjKdK2mCj/HO9y+dY17mrfUSDeB pMtYdR1jVR545xtTOT1tJsQVvAz8EkM5tz5GSDtZ/EzxSxfZZ6KEmvtinhBPW8FJuwyL TLK8eqTRZQkLjQj1TIXGDE1A/qU78mqdvWbAkzLcqq/QUIVePCr+j17Kcd/nDqS04VEJ v6aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si9317115edp.564.2020.05.12.18.54.39; Tue, 12 May 2020 18:55:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728131AbgEMBxG (ORCPT + 99 others); Tue, 12 May 2020 21:53:06 -0400 Received: from mail109.syd.optusnet.com.au ([211.29.132.80]:51251 "EHLO mail109.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgEMBxG (ORCPT ); Tue, 12 May 2020 21:53:06 -0400 X-Greylist: delayed 1209 seconds by postgrey-1.27 at vger.kernel.org; Tue, 12 May 2020 21:53:04 EDT Received: from dread.disaster.area (pa49-195-157-175.pa.nsw.optusnet.com.au [49.195.157.175]) by mail109.syd.optusnet.com.au (Postfix) with ESMTPS id 79961D79337; Wed, 13 May 2020 11:52:59 +1000 (AEST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1jYgZs-0001dG-SQ; Wed, 13 May 2020 11:52:56 +1000 Date: Wed, 13 May 2020 11:52:56 +1000 From: Dave Chinner To: Konstantin Khlebnikov Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Alexander Viro , Waiman Long Subject: Re: [PATCH RFC 2/8] selftests: add stress testing tool for dcache Message-ID: <20200513015256.GN2005@dread.disaster.area> References: <158893941613.200862.4094521350329937435.stgit@buzz> <158894059714.200862.11121403612367981747.stgit@buzz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <158894059714.200862.11121403612367981747.stgit@buzz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.3 cv=X6os11be c=1 sm=1 tr=0 a=ONQRW0k9raierNYdzxQi9Q==:117 a=ONQRW0k9raierNYdzxQi9Q==:17 a=kj9zAlcOel0A:10 a=sTwFKg_x9MkA:10 a=6R7veym_AAAA:8 a=7-415B0cAAAA:8 a=nNFfUkKyeu1yzWEg-EsA:9 a=CjuIK1q_8ugA:10 a=ILCOIF4F_8SzUMnO7jNM:22 a=biEYGPWJfzWAr4FL6Ov7:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 08, 2020 at 03:23:17PM +0300, Konstantin Khlebnikov wrote: > This tool fills dcache with negative dentries. Between iterations it prints > statistics and measures time of inotify operation which might degrade. > > Signed-off-by: Konstantin Khlebnikov > --- > tools/testing/selftests/filesystems/Makefile | 1 > .../testing/selftests/filesystems/dcache_stress.c | 210 ++++++++++++++++++++ This sort of thing should go into fstests along with test scripts that use it to exercise the dentry cache. We already have tools like this in fstests (dirstress, metaperf, etc) for exercising name-based operations like this, so it would fit right in. That way it would get run by just about every filesystem developer and distro QE department automatically and extremely frequently... Cheers, Dave. -- Dave Chinner david@fromorbit.com