From owner-cvs-all Sat Oct 9 12:44:36 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D98C14DB5; Sat, 9 Oct 1999 12:44:33 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA56816; Sat, 9 Oct 1999 12:44:33 -0700 (PDT) (envelope-from phk@FreeBSD.org) Message-Id: <199910091944.MAA56816@freefall.freebsd.org> From: Poul-Henning Kamp Date: Sat, 9 Oct 1999 12:44:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys buf.h src/sys/kern kern_physio.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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