tmp_suning_uos_patched/fs/autofs4
Ian Kent e0a7aae940 [PATCH] autofs4: expire mounts that hold no (extra) references only
Alter the expire semantics that define how "busyness" is determined.
Currently a last_used counter is updated on every revalidate from processes
other than the mount owner process group.

This patch changes that so that an expire candidate is busy only if it has a
reference count greater than the expected minimum, such as when there is an
open file or working directory in use.

This method is the only way that busyness can be established for direct mounts
within the new implementation.  For consistency the expire semantic is made
the same for all mounts.

A side effect of the patch is that mounts which remain mounted unessessarily
in the presence of some GUI programs that scan the filesystem should now
expire.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:39 -08:00
..
autofs_i.h [PATCH] autofs4: fix false negative return from expire 2006-03-27 08:44:39 -08:00
expire.c [PATCH] autofs4: expire mounts that hold no (extra) references only 2006-03-27 08:44:39 -08:00
init.c
inode.c [PATCH] autofs4: fix false negative return from expire 2006-03-27 08:44:39 -08:00
Makefile
root.c [PATCH] autofs4: expire mounts that hold no (extra) references only 2006-03-27 08:44:39 -08:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
waitq.c [PATCH] sem2mutex: autofs4 wq_sem 2006-03-23 07:38:13 -08:00