Re: [PATCH 3/28] VFS: Move expiry into vfs

From: Christoph Hellwig
Date: Mon Oct 25 2004 - 16:47:32 EST


On Mon, Oct 25, 2004 at 10:40:00AM -0400, Mike Waychison wrote:
> This patch moves the recently added expiry functionality directly into the
> VFS layer. Doing this gives us a couple advantages:
>
> - Allows for configurable timeouts using a single consolidated timer
> - Keeps filesystems from having to each implement their own expiry logic
> - Provides a generic interface that can be used for _any_ filesystem, as
> desired by user applications and/or the system admninistrator.
>
> This patch implements expiry by having the VFS recursively register work to
> do. Checks are done for expiry every 1 second, so expiry is configurable to
> that granularity.

The expiry timer should only run as long as there are filesystems registered
for expiry.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/