Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 13:03:15 +0100
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   B_WRITE cleanup patch, please test!
Message-ID:  <20502.952948995@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

	http://phk.freebsd.dk/misc/b_iocmd.patch

B_WRITE is bogusly defined as zero, which is a perfect candidate
for coding and logic mistakes, we saw the most recent victim of
this bogosity as recently as a few days ago.

This patch moves the "io-command" aspect of the b_flags into a new
struct buf field called b_iocmd.

This patch is the first step towards the stackable BIO system as
sketched out on http://www.freebsd.org/~phk/Geom/

Please test & review.

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