Subject: CVS commit: src/lib/libpuffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 10/26/2007 17:35:02
Module Name:	src
Committed By:	pooka
Date:		Fri Oct 26 17:35:02 UTC 2007

Modified Files:
	src/lib/libpuffs: Makefile callcontext.c dispatcher.c puffs.c
	    puffs_priv.h requests.c

Log Message:
Add some very initial support for a threading worker model as an
alternative to the (vastly superior ;) continuation model.  This
is very preliminary stuff and not compiled by default (which it
even won't do without some other patches I cannot commit yet).

The raison d'commit of the patch is a snippet which ensures proper
in-order dispatching of all operations, including those which don't
require a response.  Previously many of them would be dispatched
simultaneosly, e.g. fsync and reclaim on the same node, which
obviously isn't all that nice for correct operation.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/lib/libpuffs/Makefile
cvs rdiff -r1.11 -r1.12 src/lib/libpuffs/callcontext.c
cvs rdiff -r1.16 -r1.17 src/lib/libpuffs/dispatcher.c
cvs rdiff -r1.69 -r1.70 src/lib/libpuffs/puffs.c
cvs rdiff -r1.27 -r1.28 src/lib/libpuffs/puffs_priv.h
cvs rdiff -r1.12 -r1.13 src/lib/libpuffs/requests.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.