Questions about g_mbr and g_bsd
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Jun 4 09:26:23 UTC 2009
In message <4A27866D.6010103 at gmail.com>, cooper writes:
>g_mbr_start and g_bsd_start care only if (bp->bio_cmd == BIO_GETATTR).
>Does anyone know why they neither do somthing similar to g_disk_start
>nor invoke the underlying g_disk?
No they dont, all other request types are handled by the "slicer"
code which they control with data structures describing the layout.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-geom
mailing list