[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-cvs
Subject:    CVS commit: src/sys/netsmb
From:       Jaromir Dolecek <jdolecek () netbsd ! org>
Date:       2003-03-31 20:59:36
[Download RAW message or body]


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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic