> > If the xino code had a way to garbage-collect the unused mappings it
> > would be safe to use with tmpfs.
> 
> I'll try, but I am not sure it will succeed.

Here is patch for it, which introduces two new re-mount options,
- trunc_xino=<branch path>
- itrunc_xino=<branch index>
ex. sudo mount -o remount,itrunc_xino=0 /your/aufs

Please try it and let me know the result.
It may take a long time if your xino file for the branch is very large.

I am considering another interface/option, such like
- truncate xino files for all branches unconditioanlly.
- search tmpfs (or specified fstype) branch, and truncate xino for the
  selected branches only.
If you have some idea, let me know it too.

Junjiro Okajima

Attachment: a.patch.bz2
Description: BZip2 compressed data

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

Reply via email to