Re: requesting vinum help

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 27 Nov 2003 16:04:12 -0700 (MST)
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
Received on Thu Nov 27 2003 - 14:04:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC