On Wednesday May 3, cel@xxxxxxxxxxxxxx wrote: > > For the sake of discussion, let me propose some design alternatives. > > 1. We already have cache shrinkage built in: when an inode is purged > due to cache shrinkage, the access cache for that inode is purged as > well. In other words, there is already a mechanism for external memory > pressure to shrink this cache. I don't see a strong need to complicate > matters by adding more cache shrinkage than already exists with normal > inode and dentry cache shrinkage. > If you have one particular file that is use regularly - and so never falls out of cache - and is uses occasionally by every single user in you system, then that one inode could contribute to thousands of access cache items that will never be purged. This is why I thought that some sort of cleaning of the access cache was important. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html