9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: wb.kloke@gmail.com
To: 9fans <9fans@9fans.net>
Subject: [9fans] Re: yet another try to fixup venti
Date: Wed, 12 Jun 2024 16:12:59 -0400	[thread overview]
Message-ID: <17182231790.8dbf31.335687@composer.9fans.topicbox.com> (raw)
In-Reply-To: <17181391500.35F5.93227@composer.9fans.topicbox.com>

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

For now, I failed to push my  changes to github. 

If anybody is interested in the files, they are available in http://pkeus.de/~wb/mventi

Copy the files int $PLAN9/src/cmd/venti/srv
and try "mk o.buildtrie" .

I also inserted my code into index.c to check that index lookup gives the same result as before.
The code snippet inserted into loadientry function is

               tf = trie_retrieve(score,&ie2);
                assert(tf != ~0 );
                assert(ie2.addr==ie->ia.addr);
                assert(ie2.type==ie->ia.type);
                assert(ie2.size==ie->ia.size);
                assert(ie2.blocks==ie->ia.blocks);

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T21878aa53884911b-M7f3b63c6b43eee3e26c57981
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1819 bytes --]

  reply	other threads:[~2024-06-12 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 20:52 [9fans] " wb.kloke
2024-06-12 20:12 ` wb.kloke [this message]
2024-06-13  4:08 ` ori
2024-06-13 15:52   ` wb.kloke
2024-06-13 19:41     ` wb.kloke
2024-06-16  9:19       ` wb.kloke
2024-06-20 15:32         ` wb.kloke
2024-08-16 17:27           ` wb.kloke

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=17182231790.8dbf31.335687@composer.9fans.topicbox.com \
    --to=wb.kloke@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).