[GSoC] HAMMER compression and new unionfs

Matthew Dillon dillon at apollo.backplane.com
Fri Apr 1 16:42:04 PDT 2011

:On 04/01/11 04:46, Naohiro Aota wrote:
:> - Implement userland tool to set compression to a file (hammer set-compress<file>  ?)
:nit: better to add a chflags(1) option

    chflags flags are a bit annoying to add but there is already
    infrastructure in place from the swapcache work for the 'cache' flag
    that could be reviewed to determine how best to add a new flag.

    The 'cache' flag only had to be set in a higher level directory and
    would get inherited by the run-time system recursively.  A compression
    flag could be made to work the same way.  i.e. so you would only have
    to set it on /usr/src and not on every single file inside /usr/src.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Kernel mailing list