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
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to