Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 16:04:12 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        tlambert2@mindspring.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: requesting vinum help
Message-ID:  <20031127.160412.69381954.imp@bsdimp.com>
In-Reply-To: <3FC59E89.77203100@mindspring.com>
References:  <46117.1069866997@critter.freebsd.dk> <3FC59E89.77203100@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <3FC59E89.77203100@mindspring.com>
            Terry Lambert <tlambert2@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031127.160412.69381954.imp>