9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Clearing venti arena during install
Date: Sun, 26 Mar 2006 19:09:15 -0500	[thread overview]
Message-ID: <f3a044b2e13339d9f22c5aeb43cc9aa2@swtch.com> (raw)
In-Reply-To: <20060326210445.19843295CD@mail.bitblocks.com>

> If fossil+venti is chosen during installation, the entire
> venti arena partition is cleared.  Is there a way to avoid
> clearing all of the arena space?  Since in a sense it is an
> append only log, and the purpose for clearing it is,
> presumably, to allow recreating the index, may be a shortcut
> exists?  Doing so will save a lot of time and space
> particularly on a qemu VM.  In qemu one can use a sparse file
> or a qcow format file which allocates space only for data
> actually written.  Writing even zeroes can eat up space.

Any sparse file worth its salt would catch the case
where you write zeros to a hole and not do anything.

That said, I'd rather leave the zeroing in for now.
The new venti, which I am testing on Plan 9 right now,
does not require the zeroing.

Russ



  reply	other threads:[~2006-03-27  0:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-26 21:04 bakul+plan9
2006-03-27  0:09 ` Russ Cox [this message]
2006-03-27  0:23   ` bakul+plan9
2006-03-27  0:30     ` Russ Cox
2006-03-27  0:33     ` Russ Cox
2006-03-27  0:52       ` geoff
2006-03-27  0:57         ` Russ Cox
2006-03-27  1:23           ` Bakul Shah
2006-04-17  9:57 ` Lluís Batlle i Rossell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3a044b2e13339d9f22c5aeb43cc9aa2@swtch.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).