lkml.org 
[lkml]   [2019]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 0/5] vfs: track the dentry name length in name_snapshot
On Fri, Apr 26, 2019 at 2:52 PM Al Viro <viro@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@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

\
 
 \ /
  Last update: 2019-04-26 21:00    [W:0.088 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site