Commit 43694d4b authored by Committed by Linus Torvalds
autofs: revert "autofs: take more care to not update last_used on path walk"
While commit 092a5345 ("autofs: take more care to not update last_used on path walk") helped (partially) resolve a problem where automounts were not expiring due to aggressive accesses from user space it has a side effect for very large environments. This change helps with the expire problem by making the expire more aggressive but, for very large environments, that means more mount requests from clients. When there are a lot of clients that can mean fairly significant server load increases. It turns out I put the last_used in this position to solve this very problem and failed to update my own thinking of the autofs expire policy. So the patch being reverted introduces a regression which should be fixed. Link: http://firstname.lastname@example.org Fixes: 092a5345 ("autofs: take more care to not update last_used on path walk") Signed-off-by: Ian Kent <email@example.com> Reviewed-by: NeilBrown <firstname.lastname@example.org> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: <email@example.com> [4.11+] Cc: Colin Walters <firstname.lastname@example.org> Cc: David Howells <email@example.com> Cc: Ondrej Holy <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 6 additions and 11 deletions