From owner-cvs-all Sun Apr 2 8: 9:53 2000 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id DB03737BDE9; Sun, 2 Apr 2000 08:09:17 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id RAA14381; Sun, 2 Apr 2000 17:09:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Justin T. Gibbs" 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 In-reply-to: Your message of "Sun, 02 Apr 2000 08:59:17 MDT." <200004021459.IAA11447@caspian.plutotech.com> Date: Sun, 02 Apr 2000 17:09:13 +0200 Message-ID: <14379.954688153@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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