From owner-cvs-src@FreeBSD.ORG Mon Sep 1 13:45:33 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B66C516A4BF; Mon, 1 Sep 2003 13:45:33 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DB0043FA3; Mon, 1 Sep 2003 13:45:33 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h81KjX0U093430; Mon, 1 Sep 2003 13:45:33 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h81KjXsL093429; Mon, 1 Sep 2003 13:45:33 -0700 (PDT) Message-Id: <200309012045.h81KjXsL093429@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 1 Sep 2003 13:45:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom.h geom_bsd.c geom_dev.c geom_disk.c geom_mbr.c geom_pc98.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 20:45:33 -0000 phk 2003/09/01 13:45:32 PDT FreeBSD src repository Modified files: sys/geom geom.h geom_bsd.c geom_dev.c geom_disk.c geom_mbr.c geom_pc98.c Log: Simplify the ioctl handling in GEOM. This replaces the current ioctl processing with a direct call path from geom_dev() where the ioctl arrives (from SPECFS) to any directly connected GEOM class. The inverse of the above is no longer supported. This is the situation were you have one or more intervening GEOM classes, for instance a BSDlabel on top of a MBR or PC98. If you want to issue MBR or PC98 specific ioctls, you will need to issue them on a MBR or PC98 providers. This paves the way for inviting CD's, FD's and other special cases inside GEOM. Revision Changes Path 1.73 +3 -16 src/sys/geom/geom.h 1.66 +76 -139 src/sys/geom/geom_bsd.c 1.67 +5 -40 src/sys/geom/geom_dev.c 1.77 +20 -10 src/sys/geom/geom_disk.c 1.55 +21 -53 src/sys/geom/geom_mbr.c 1.43 +21 -51 src/sys/geom/geom_pc98.c