Subject: Re: cgd->vnd panic in BETA_2.0
To: Jason Thorpe <thorpej@shagadelic.org>
From: Daniel Carosone <dan@geek.com.au>
List: tech-kern
Date: 09/22/2004 09:51:35
--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 21, 2004 at 04:42:38PM -0700, Jason Thorpe wrote:
>=20
> On Sep 21, 2004, at 4:32 PM, Daniel Carosone wrote:
>=20
> >The question is, can vnd come up with a suitable completion event, in
> >a suitable context, to restart the dk queue?  Perhaps a hybrid
> >solution is needed, whereby that's what the kernel thread does?
>=20
> vnd can only run from a thread context (since it uses the file system),=
=20
> so it needs to have one regardless.

But does it need a dedicated one?  Perhaps it's better regardless from
an accounting perspective, than borrowing the thread of something else
on the return path from a previous request.

In any case, dk_subr should help implement the deferral to this
thread.

--
Dan.



--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBUL6HEAVxvV4N66cRAnEFAJ0Z6vxlzOF2kwMfYXK5QBfjEo2evACeNJCm
uQtJj38FnMb69LW10pJgL/8=
=Ly0Y
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--