Date: Mon, 20 Mar 2000 22:57:08 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Julian Elischer <julian@elischer.org>, current@FreeBSD.ORG Subject: Re: B_WRITE cleanup patch, please test! Message-ID: <21290.953589428@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 20 Mar 2000 13:29:51 PST." <200003202129.NAA71883@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200003202129.NAA71883@apollo.backplane.com>, Matthew Dillon writes: > I think the biggest win in regards to being able to arbitrarily stack > devices is to NOT attempt to forward struct buf's between devices when > non-trivial manipulation is required, and instead to make struct buf's > cheap enough that a device can simply allocate a new one and copy the > appropriate fields. > > In particular I really hate all the various b_*blkno fields. b_lblkno, > b_blkno, and b_pblkno. It is precisely due to the existance of these > hacks that arbitrary device stacking is difficult. This is basically what the stuff I'm doing addresses. -- 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 freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21290.953589428>