BUF/BIO cleanup 7/99:
authorHiten Pandya <hmp@dragonflybsd.org>
Mon, 8 Aug 2005 01:25:31 +0000 (01:25 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Mon, 8 Aug 2005 01:25:31 +0000 (01:25 +0000)
commit1eabbf3294c1fe06639cde82462136050c314e4f
tree25f7c41910d9dd04362b34b34b8fa459035b323b
parentc119eaa0e96d3cce8bd81ad377a9ea0385642923
BUF/BIO cleanup 7/99:

First attempt at separating low-level information from BUF structure into
the new BIO structure.  The latter will be used to represent the actual
I/O underlying the buffer cache, other subsystems and device drivers.

Other information from the BUF structure will be moved eventually once
their place in the grand scheme is determined.  For now, preprocess macros
have been added to reduce widespread changes; this is a temporary measure
by all means until more of the BIO and BUF API is formalised.

Remove compatibility preprocessor macros in the AAC driver because our
BUF/BIO system is mutating; not to mention they were getting in the way.

NB the name BIO has been used because it's quite appropriate and known
among kernel developers from other operating system groups, be it BSD or
Linux.

This change should not have any operational affect (famous last words).

Reviewed by: Matthew Dillon <dillon@dragonflybsd.org>
sys/dev/raid/aac/aac.c
sys/dev/raid/aac/aac_compat.h
sys/dev/raid/aac/aac_disk.c
sys/dev/raid/aac/aacvar.h
sys/kern/vfs_bio.c
sys/sys/bio.h [new file with mode: 0644]
sys/sys/buf.h