WSL2-Linux-Kernel/fs/autofs
Ian Kent f5162216b7 autofs: add strictexpire mount option
Commit 092a53452b ("autofs: take more care to not update last_used on
path walk") helped to (partially) resolve a problem where automounts
were not expiring due to aggressive accesses from user space.

This patch was later reverted because, for very large environments, it
meant more mount requests from clients and when there are a lot of
clients this caused a fairly significant increase in server load.

But there is a need for both types of expire check, depending on use
case, so add a mount option to allow for strict update of last use of
autofs dentrys (which just means not updating the last use on path walk
access).

Link: http://lkml.kernel.org/r/154296973880.9889.14085372741514507967.stgit@pluto-themaw-net
Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-01-04 13:13:47 -08:00
..
Kconfig autofs: Fix typo s/thenew new/the new/ in AUTOFS4_FS description 2018-06-12 12:31:19 -07:00
Makefile autofs: rename 'autofs' module back to 'autofs4' 2018-07-05 11:35:04 -07:00
autofs_i.h autofs: add strictexpire mount option 2019-01-04 13:13:47 -08:00
dev-ioctl.c autofs: change catatonic setting to a bit flag 2019-01-04 13:13:47 -08:00
expire.c autofs: add AUTOFS_EXP_FORCED flag 2018-08-22 10:52:49 -07:00
init.c autofs: improve ioctl sbi checks 2019-01-04 13:13:46 -08:00
inode.c autofs: add strictexpire mount option 2019-01-04 13:13:47 -08:00
root.c autofs: add strictexpire mount option 2019-01-04 13:13:47 -08:00
symlink.c autofs: copy autofs4 to autofs 2018-06-07 17:34:39 -07:00
waitq.c autofs: change catatonic setting to a bit flag 2019-01-04 13:13:47 -08:00