Date: Sat, 9 Oct 1999 12:44:33 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys buf.h src/sys/kern kern_physio.c Message-ID: <199910091944.MAA56816@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1999/10/09 12:44:33 PDT
Modified files:
sys/sys buf.h
sys/kern kern_physio.c
Log:
Give physio a makeover.
- Let physio take read/write compatible args and have it use uio->uio_rw
to determine the direction.
- physread/physwrite are now #defines for physio
- Remove the inversly named minphys(), dev->si_iosize_max takes over.
- Physio() always uses pbufs.
- Fix the check for non page-aligned transfers, now only unaligned
transfers larger than (MAXPHYS - PAGE_SIZE) get fragmented (only
interesting for tapes using max blocksize).
- General wash-and-clean of code.
Constructive input from: bde
Revision Changes Path
1.81 +4 -6 src/sys/sys/buf.h
1.45 +55 -122 src/sys/kern/kern_physio.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910091944.MAA56816>
