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