Date: Fri, 15 Jul 2005 14:08:45 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Luigi Rizzo <rizzo@icir.org> Cc: Poul-Henning Kamp <phk@haven.freebsd.dk>, Robert Watson <rwatson@freebsd.org>, s223560@studenti.ing.unipi.it, current@freebsd.org Subject: Re: location of bioq lock Message-ID: <9872.1121429325@phk.freebsd.dk> In-Reply-To: Your message of "Fri, 15 Jul 2005 03:59:23 PDT." <20050715035923.B66753@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050715035923.B66753@xorpc.icir.org>, Luigi Rizzo writes: >On Fri, Jul 15, 2005 at 08:43:17AM +0200, Poul-Henning Kamp wrote: >> In message <20050714181356.A58300@xorpc.icir.org>, Luigi Rizzo writes: >> >> >Anyways there might be a way out... >> >requests go from dev_strategy() >> >> The right place for this is geom_disk.c:g_disk_start() and the start >> routines of the drivers which do not use geom_disk. > >g_disk_start() sonunds good, but i am not sure if other >drivers export the start routine. It seems to be called >more or less directly at the end of the strategy() routine of the >individual driver, and it does not always likes to find >the queue empty. > >But i am still learning on the layering of these things... You may want to read up on GEOM (http://phk.freebsd.dk/pubs) Check the cdrom drivers. -- 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?9872.1121429325>