Subject: CVS commit: src/sys/netsmb
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/31/2003 23:59:36
Module Name:	src
Committed By:	jdolecek
Date:		Mon Mar 31 20:59:36 UTC 2003

Modified Files:
	src/sys/netsmb: smb_iod.c

Log Message:
run iod at splnet, to eliminate race agains receive upcall wakeup,
so that iod wouldn't pause when the reply comes fast enough
to catch iod between smb_iod_recvall() and tsleep()

this gives nice performance boost for workloads with many synchronously
submitted transactions, like ls -lR

iod now doesn't need to wakeup periodically, so don't use any timeout
for its tsleep(); also use higher priority PSOCK instead of PWAIT


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/netsmb/smb_iod.c

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