Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2000 17:09:13 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Justin T. Gibbs" <gibbs@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_mib.c vfs_bio.c src/sys/sys buf.h 
Message-ID:  <14379.954688153@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 02 Apr 2000 08:59:17 MDT." <200004021459.IAA11447@caspian.plutotech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200004021459.IAA11447@caspian.plutotech.com>, "Justin T. Gibbs" wri
tes:
>>phk         2000/04/02 01:26:58 PST
>>
>>  Modified files:
>>    sys/kern             kern_mib.c vfs_bio.c 
>>    sys/sys              buf.h 
>>  Log:
>>  Draw the outline of "struct bio".
>
>Do we even want "buffer" to be part of the name?  By the time the
>request gets down to a driver, shouldn't it look more like a header
>indicating the type of addresses in a chain of address length pairs?
>A slimmed down struct uio perhaps?

Well, bio means "block I/O" to me these days and we already have
a lot of names which point to that as the logical prefix (biodone()
being just one of them).

As for going the struct uio route, yes we may want to consider that
at some point.  I think it makes sense to do this relatively simple
(but tedious) divorce of the io aspect of struct buf first, before
we change the semantics of the actual io handling.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


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?14379.954688153>