tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: autoclean mode for tmpfs



Am 07.08.11 18:04, schrieb Emmanuel Dreyfus:
> Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote:
> 
>> Personally?  I'd say that scheduling it should be done by userland, but
>> that putting the actual removal in the filesystem makes sense.
> 
> Yes, a TTL attribute on an inode: once it expires, the filesystem tosses
> the file on next access attempt.

you shoudn't toss away a file when something attempts to access it.  you
should toss it away when nothing attempt to access it for long enough.



Home | Main Index | Thread Index | Old Index