[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200513015256.GN2005@dread.disaster.area>
Date: Wed, 13 May 2020 11:52:56 +1000
From: Dave Chinner <david@...morbit.com>
To: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, Alexander Viro <viro@...iv.linux.org.uk>,
Waiman Long <longman@...hat.com>
Subject: Re: [PATCH RFC 2/8] selftests: add stress testing tool for dcache
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 <khlebnikov@...dex-team.ru>
> ---
> 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@...morbit.com
Powered by blists - more mailing lists