Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2009 09:10:33 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        cooper <bo.coopci@i-waihui.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Questions about g_mbr and g_bsd 
Message-ID:  <10765.1244106633@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 04 Jun 2009 16:31:41 %2B0800." <4A27866D.6010103@gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <4A27866D.6010103@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10765.1244106633>