Rene Mayrhofer: > Yes, we are still using aufs2 and still have this problem. > > > This small patch MAY be able to reduce the size of XINO file for the > > upper tmpfs branch. > > If you can, would you test this patch? > > It is not a part of aufs, but modifies tmpfs. So you will need to > > re-compile the kernel. > > We will try it - thanks for the patch!
Rene, I forgot one important thing. This problem was known and I had already implmented the solution. Please read the thread in Nov 2007. http://sourceforge.net/mailarchive/forum.php?thread_name=20071126230908.GB5945%40falooley.org&forum_name=aufs-users (You may want to see another archive on another user site since the archive on SF is slow and not easy to follow the thread) Jason Lunz wrote the problem which is very similar to yours. And I impelmented some options to truncate the XINO files. (from the mail on 2007-11-29) ---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- (from the commit log) ---------------------------------------------------------------------- 20071203 ::: - introduce truncating xino files (experimental), reported by Jason Lunz. it will be removed if nobody is interested. + define TMPFS_MAGIC. + define blkcnt_t type for linux-2.6.16. + new options trunc_xino, notrunc_xino, trunc_xino=<branch path>, and itrunc_xino=<branch index>. + new functions xino_trunc() and au_test_trunc_xino(). + new functions xino_do_trunc(), xino_try_trunc() and xino_trunc(). + new macros AUFS_XINO_TRUNC_INIT and AUFS_XINO_TRUNC_STEP. ---------------------------------------------------------------------- These options are still available in aufs2, just they were forgotten and not described in the manual. I think the previous patch (which is against mm/shmem.c) AND the trunc_xino (or itrunc_xino=0) is the best solution for you. Please try. J. R. Okajima ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
