Re: How long can an inode structure reside in the inode_cache?

From: Bernd Eckenfels
Date: Sat Jun 10 2006 - 01:31:40 EST


Xin Zhao <uszhaoxin@xxxxxxxxx> wrote:
> put into the inode_cache, but when will this inode be free and removed
> from the inode_cache? after this file is closed? If so, this seems to
> be inefficient.

What do you consider inefficient? that is cached too long or too short? Open
files wont be pruned, closed files when there is memory pressure. Thats
quite efficient.

Gruss
Bernd
-
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/