Subject: CVS commit: src/usr.sbin/puffs/mount_psshfs
To: None <>
From: Antti Kantee <>
List: source-changes
Date: 11/30/2007 16:24:04
Module Name:	src
Committed By:	pooka
Date:		Fri Nov 30 16:24:04 UTC 2007

Modified Files:
	src/usr.sbin/puffs/mount_psshfs: node.c psshfs.c psshfs.h subr.c

Log Message:
Introduce the concept of lazyopens.  This means that when a file
handle open is requested, it is waited for only if the node was
not previously succesfully opened.  The actual wait for the file
handle happens only when the file handle is actually needed (read
or write).  This in turn has the effect that reading cached files
will be quick instead of waiting for the file handle from the sftp
server first.  The wait previously could be very long if there were
serveral hundred k of outstanding requests in a limited-bandwidth

The code is in some need of serious handholding, but it works, so
I'll leave that as "future work".

To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/usr.sbin/puffs/mount_psshfs/node.c
cvs rdiff -r1.45 -r1.46 src/usr.sbin/puffs/mount_psshfs/psshfs.c
cvs rdiff -r1.29 -r1.30 src/usr.sbin/puffs/mount_psshfs/psshfs.h
cvs rdiff -r1.36 -r1.37 src/usr.sbin/puffs/mount_psshfs/subr.c

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