Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 1999 16:54:10 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, grog@lemis.com, phk@critter.freebsd.dk
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys disk.h
Message-ID:  <199905070654.QAA18942@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Funny, I thought the documentation went into /usr/src/share/doc, and
>old, no longer used files went to Attic.  What am I missing?

Most documentation goes into cvs history.  Most unused kernel files
don't get put into the attic unless they are superseded by something
better.

>The only thing that will happen if the cruft is left in -CURRENT is
>that people like me will use the stuff.  An #error in the file would

What documentation or examples say to use it? :-)

>just confuse the issue.  As phk has pointed out, struct buf contains a
>whole lot of fields which never got used, but which countless
>generations of driver programmers religiously initialized.  Cleaning
>this stuff up is good.

They all got used but a few (2 or 3) recently became unused and fewer
(1 or 2) haven't been used for some time.  Countless generations of
driver authors should have known to not even look at most fields in
struct buf.  Only vfs_bio and meta-drivers like ccd and vinum need to 
know about them.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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