9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: anooop.anooop@gmail.com
To: 9fans@9fans.net
Subject: Re: [9fans] Regarding venti block size
Date: Mon, 16 Feb 2009 15:56:37 +0000	[thread overview]
Message-ID: <63884bcf-d00e-470e-b931-7e5be3f7bce8@g38g2000yqd.googlegroups.com> (raw)
In-Reply-To: <fd01f51d-65fc-4fb2-ac68-3b30cfa3b631@b16g2000yqb.googlegroups.com>

On Feb 16, 9:32�am, quans...@quanstro.net (erik quanstrom) wrote:
> > This is what I get when I try to store files of size around 300KB :
> > "write: input too big: max block size is 57344"
>
> this is why god^wken used filesystems.
>
> try vac(1), fossil(4) or if you need something
> esoteric you can roll your own filesystem with
> venti-file(2).
>
> - erik

Thank you so much for the replies.

This is what I am planning to do.

1. take a file, split it into many different parts (each part is
char*)
2. store each part on a venti server and collect the scores
3. when I need the file back, provide the scores to the venti and get
the parts back
4. merge the parts and create the file back

The problem is that I was planning on keeping the number of parts is
fixed. So depending on the file size, the part size will vary. And
therefore sometimes the (part = block) that I store will be more than
the current upper limit of 64k.

It would be great if you could let me know your thoughts on this.

Regards,
Anoop



  parent reply	other threads:[~2009-02-16 15:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 10:25 anooop.anooop
2009-02-16 11:52 ` matt
2009-02-16 14:16   ` erik quanstrom
2009-02-16 14:20 ` erik quanstrom
2009-02-16 15:56 ` anooop.anooop [this message]
2009-02-16 16:17   ` matt
2009-02-16 17:03   ` Russ Cox
2009-02-16 17:11     ` erik quanstrom
2009-02-16 17:17 ` roger peppe
2009-02-16 17:28 ` anooop.anooop
2009-02-16 19:08   ` lucio
2009-02-16 19:24     ` ron minnich
2009-02-17  9:53     ` anooop.anooop
2009-02-17  0:17   ` matt
2009-02-17  9:53 ` anooop.anooop
     [not found] ` <2c60577b-edf1-4f3c-bdd9-d8b1b2859a5b@x38g2000yqj.googlegroups.co>
2009-02-17 13:38   ` erik quanstrom

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=63884bcf-d00e-470e-b931-7e5be3f7bce8@g38g2000yqd.googlegroups.com \
    --to=anooop.anooop@gmail.com \
    --cc=9fans@9fans.net \
    /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).