DragonFly BSD
DragonFly kernel List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [GSoC] HAMMER compression and new unionfs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Apr 2011 16:39:20 -0700 (PDT)

:
: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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]