On Fri, Apr 26, 2019 at 2:52 PM Al Viro <viro(a)zeniv.linux.org.uk> wrote:
 On Fri, Apr 26, 2019 at 02:28:42PM -0400, Jeff Layton wrote:
 > name_snapshot will snapshot the current contents of a dentry's name for
 > later consumption. Several of those users end up needing to do a strlen
 > on the resulting string later. We already have that info in the original
 > dentry though, so we can do this a bit more efficiently by stuffing the
 > name length into the name_snapshot as well.
 >
 > This is not well tested, but it built and booted. Do we have a testsuite
 > that exercises the fsnotify code, in particular?
 FWIW, my variant sits in vfs.git(a)work.dcache. 
Jan Kara contributed some audit related stress tests to the
audit-testsuite (link below).  You can find the tests under
./tests_manual/stress_tree.
* 
https://github.com/linux-audit/audit-testsuite
-- 
paul moore
www.paul-moore.com