kernel-ark/fs/autofs4
NeilBrown 23bfc2a24e autofs4: allow RCU-walk to walk through autofs4
This series teaches autofs about RCU-walk so that we don't drop straight
into REF-walk when we hit an autofs directory, and so that we avoid
spinlocks as much as possible when performing an RCU-walk.

This is needed so that the benefits of the recent NFS support for
RCU-walk are fully available when NFS filesystems are automounted.

Patches have been carefully reviewed and tested both with test suites
and in production - thanks a lot to Ian Kent for his support there.

This patch (of 6):

Any attempt to look up a pathname that passes though an autofs4 mount is
currently forced out of RCU-walk into REF-walk.

This can significantly hurt performance of many-thread work loads on
many-core systems, especially if the automounted filesystem supports
RCU-walk but doesn't get to benefit from it.

So if autofs4_d_manage is called with rcu_walk set, only fail with -ECHILD
if it is necessary to wait longer than a spinlock.

Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Ian Kent <raven@themaw.net>
Tested-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-14 02:18:16 +02:00
..
autofs_i.h autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
dev-ioctl.c autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
expire.c autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
init.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
inode.c autofs4: fix false positive compile error 2014-07-03 09:21:53 -07:00
Kconfig
Makefile
root.c autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
symlink.c autofs: fix symlinks aren't checked for expiry 2014-01-23 16:36:59 -08:00
waitq.c autofs4: translate pids to the right namespace for the daemon 2014-01-23 16:36:59 -08:00