requesting vinum help

M. Warner Losh imp at bsdimp.com
Thu Nov 27 15:04:16 PST 2003


In message: <3FC59E89.77203100 at mindspring.com>
            Terry Lambert <tlambert2 at mindspring.com> writes:
: There is no such thing as "bit rot"; there is only code that
: is unmaintained by the people who change interfaces out from
: under it.

Actually, there is such a thing as code rot.  Over time the
fundamental assumptions that a piece of code makes are tested as the
interfaces and subsystems it depends on evolve and change.  These
assumptions can be very subtle sometimes, and difficult to find and
test.

Vinum is hard to test because it requires multiple disks to test
with.  In addition, many problems with vinum are shown only under
heavy work load, which may be difficult to simulate.

Put in historical terms, the following code used to work:

void foo(char *c)
{
	*c = 'F';
}

int
main(int argc, char **argv)
{
	foo("fred");
}

but subtle changes in compiler technology over the years have made
this code fail now.

Warner


More information about the freebsd-current mailing list