Re: [RFC] Union Mount: Readdir approaches

From: hooanon05
Date: Sun Sep 09 2007 - 22:18:39 EST



Matt Keenan:
> This sounds like a good approach. How does aufs handle low memory
> situations? Union mounts seem to be quite common on low memory embedded
> systems. Is there a way for the VM to signal to aufs/the union
> filesystem to trim its cache? Also on the memory consumption front I

I also want to find the way to make this implementation to be smaller.

Basically there is no such signal or message.
The cache for entries will be discarded when the inode cache is shrinked
or the file is closed (and the file object is destroyed), because it is
in inode or file object.
It is up to your system memory size or something when the inode cache is
shrinked.


Junjiro Okajima
-
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/