DragonFly BSD
DragonFly users List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Suggestion for hammer cleanup

From: Robert Garrett <robgar@xxxxxxxxxxx>
Date: Sun, 31 Oct 2010 00:11:25 -0700

Matthew Dillon wrote:

>     I think a hammerd is a good idea.... or more likely a 'hammer cleanup'
>     with a deamon-mode option that leaves it running in the background,
>     but operating on the disk very lightly (as in very, VERY lightly)
>     until the time schedule tells it that it really has to run harder.
>     Implementing this would not be entirely trivial.  The only way
>     it can be done properly is for the kernel HAMMER ioctls to throw in
>     the load checks in the B-Tree scanning loop and to release the b-tree
>     cursor locks while it is sleeping.  The sleeps can't really be done
>     in the hammer user utility.
> -Matt
this is really interesting that I stumble across this tonight.. as I am
taking a break from working on libhammer.. hmm

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