9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] venti readahead error
@ 2002-08-17 20:24 Richard Miller
  0 siblings, 0 replies; only message in thread
From: Richard Miller @ 2002-08-17 20:24 UTC (permalink / raw)
  To: 9fans

When venti(8) reads a data block into the cache, it can initiate a
readahead which goes beyond the last allocated block in the
data arena.  This does no direct harm, but results in a rather
alarming error message "clump has bad magic number=00000000", which
may cause unnecessary anxiety by suggesting that the venti store is
corrupted.

Here's a correction:

cpu% diff /sys/src/cmd/venti/lump.c lump.c
142a143,144
> 		if (aa >= arena->used)
> 			break;


-- Richard Miller



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-17 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-17 20:24 [9fans] venti readahead error Richard Miller

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).