]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Simplify the ioctl handling in GEOM.
authorPoul-Henning Kamp <phk@FreeBSD.org>
Mon, 1 Sep 2003 20:45:32 +0000 (20:45 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Mon, 1 Sep 2003 20:45:32 +0000 (20:45 +0000)
commit497c33476706e093b6cf0d881d4301e5466d0d43
tree0680a0b284f441a10aeec166634f34c98f8d1389
parent8778f63db257e9b161f19e0b4812956af81d7bf4
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.
sys/geom/geom.h
sys/geom/geom_bsd.c
sys/geom/geom_dev.c
sys/geom/geom_disk.c
sys/geom/geom_mbr.c
sys/geom/geom_pc98.c