From: Leonardo Chiquitto Subject: Re: AutoFS expire/timeout semantics Date: Tue, 26 May 2009 11:20:31 -0300 Message-ID: References: <4A1BF1DF.6020000@themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A1BF1DF.6020000@themaw.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Ian Kent Cc: autofs@linux.kernel.org > It's not operations that cause the counter to be updated. > It isn't possible to update the counter based on specific operations. > It isn't possible to update the counter for all mount types based upon > access only, such as listing a directory. > > The counter is updated during each expire check and is updated if the > file system covering (for direct or offset mounts), or within (indirect > mounts) the autofs file system has an elevated reference count. So, if > there are open files or process working directories, or a path lookup is > in progress at the time of the check, that is sufficient for the mount > to be considered busy and the counter updated. Thanks for the detailed explanation, Ian, this really helps. Leonardo