9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How to sync venti
@ 2002-09-03 12:07 arisawa
  2002-09-03 20:41 ` Dharani Vilwanathan
  0 siblings, 1 reply; 6+ messages in thread
From: arisawa @ 2002-09-03 12:07 UTC (permalink / raw)
  To: 9fans

Hello,

How can I sync venti to terminate safely?

Kenji Arisawa


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [9fans] How to sync venti
@ 2002-11-05  4:33 Russ Cox
  0 siblings, 0 replies; 6+ messages in thread
From: Russ Cox @ 2002-11-05  4:33 UTC (permalink / raw)
  To: 9fans

On Tue Sep  3 08:08:15 EDT 2002, arisawa@ar.aichi-u.ac.jp wrote:
> How can I sync venti to terminate safely?

Once all the clients have stopped, you can run
the new command venti/sync (you'll have to pull
to get the one I just installed on sources),
which won't return until the write queues have
emptied.

Of course, they might fill up again after venti/sync
returns, but if you stop all the Venti clients and
then run venti/sync, you can be guaranteed the
queues stay empty afterward.

Vac now syncs before exiting, so if vac is your
only client, you don't have to worry about ever
running venti/sync.  As long as your vacs have
exited, all the data is on the disk.

Russ


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-05  4:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-03 12:07 [9fans] How to sync venti arisawa
2002-09-03 20:41 ` Dharani Vilwanathan
2002-09-03 20:47   ` Sean Quinlan
2002-09-04 12:49     ` arisawa
2002-09-04 19:22       ` arisawa
2002-11-05  4:33 Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).