> Actually, I think determining which files are needed and which are not
> is not AuFS's job. There are several atime-based tools to determine
> temporary files that are not used anymore and delete them or move them
> away. I think exposing a mechanism for moving specified files to /hdd
> will be sufficient. An external daemon will monitor the ramdisk and
> request moving files that are not used to /hdd, thus making space for
> writing new files. Moving files back up on reading is not needed
> because the kernel caches frequently accessed files in RAM, and moving
> files up on writing is already supported (isn't it?).

That is very similar what I am thinking. I have a plan to add a new
feature called HSM (Hierarchical Storage Management) which will be
implemented by
- a simple separated/isolated aufs feature, move-down.
- a user-space daemon which monitors the usage of branch fs, compares it
  with the speicified watermarks, creating a sorted file-list, and
  triggers the move-down operation.

But I am not sure when such feature will be opened.

J. R. Okajima

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

Reply via email to