On Thu, Jan 5, 2012 at 12:35 PM,  <smi...@icebubble.org> wrote:
>> run venti/sync.
>
> Ah.  Cool.  Gotta love those undocumented commands.  :) While probing
> the distal edges of Venti's documented functionality, I also came across
> the following, which have similar (but not identical) effect:
>
> hget http://$vthost:$vtwebport/flushicache
> hget http://$vthost:$vtwebport/flushdcache
>
> These HTTP requests initiate flushes of the index and arena block
> caches, respectively, and don't return a response until the respective
> flush is complete.

Honestly, you don't even have to run venti/sync.
Every command that writes to venti ends by doing
a sync.

You probably don't want to use those hget commands.
They are safe, of course, but it is equally safe not to
run them.  The icache in particular can take a long time to
flush, and venti will recover the entries (in less time than
the flush would have taken) the next time it starts.

Russ

Reply via email to