From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <62d61310dd2c9827ae61a965fa2ea3b3@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] How to sync venti MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 4 Nov 2002 23:33:34 -0500 Topicbox-Message-UUID: 1580ba22-eacb-11e9-9e20-41e7f4b1d025 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