#
c1a03003 |
| 16-Sep-2021 |
andvar <andvar@NetBSD.org> |
fix typos in word "successfully", mainly s/succesfully/successfully/.
|
#
76f60405 |
| 07-Oct-2016 |
christos <christos@NetBSD.org> |
PR/514612: Mateusz Paszwa: When no more data, bail out (reading from empty files) instead of stuck looping.
|
#
f111fad4 |
| 20-Jan-2012 |
jakllsch <jakllsch@NetBSD.org> |
Ensure psshfs_node_read() completely reads all data before return. Fixes file corruption in psshfs exposed with kernel MAXPHYS at 128KiB.
|
#
f81f9d22 |
| 12-Aug-2011 |
riastradh <riastradh@NetBSD.org> |
Cache vattr in psshfs's setattr.
This means within the cache window, a setattr that wouldn't change the remote file's attributes from our current view of them will not be relayed to the server and w
Cache vattr in psshfs's setattr.
This means within the cache window, a setattr that wouldn't change the remote file's attributes from our current view of them will not be relayed to the server and wait for the server to answer. Thus, e.g., a process with a periodic timer interrupt that calls open(2) in a loop can make progress with much higher probability than without caching.
XXX The test case doesn't work, so it's currently disabled. It needs to stop the child of sshd that is handling an sftp session, not sshd itself, and it's not obvious how to do that.
ok pooka
show more ...
|
#
080506bc |
| 29-Oct-2010 |
pooka <pooka@NetBSD.org> |
Make error message more userfriendly in cases where server does not support sftp.
|
#
326638b5 |
| 01-Apr-2010 |
pooka <pooka@NetBSD.org> |
In case we create a file, reclaim the vnode, and lookup the file without the directory timeout expiring, we get vattr_null as the attributes for that file. Ensure that we always report sane attribut
In case we create a file, reclaim the vnode, and lookup the file without the directory timeout expiring, we get vattr_null as the attributes for that file. Ensure that we always report sane attributes by getting them from the server if this is the case. (also, sprinkle some const)
Fixes problem reported by dyoung. But wait! The bug's medallion begins to glow! The bug looks much better! I crumble to dust.
There's probably another similar bug related to "lazy open". It will trigger if we reclaim a node before the response to the open arrives. Even the comments (typoless) know about this bug ... But verifying it exists and fixing it will have to wait for another day.
show more ...
|
#
c4291c19 |
| 07-Jan-2010 |
pooka <pooka@NetBSD.org> |
Add -u and -g, which allow to remap one (local,remote) uidgid, i.e. umapfs without the fuss.
|
#
5866121c |
| 05-Nov-2009 |
pooka <pooka@NetBSD.org> |
more lp64 it's-a-sign! fixes
|
#
dac06153 |
| 20-May-2009 |
pooka <pooka@NetBSD.org> |
Copyright year management. no functional change (unless sarah disagrees)
|
#
8ff91531 |
| 20-May-2009 |
pooka <pooka@NetBSD.org> |
Introduce -c [12], which can be used to open 1 or 2 ssh connections to the server. If "2" is specified, a separate connection is used for data and directory operations. Using two connections can si
Introduce -c [12], which can be used to open 1 or 2 ssh connections to the server. If "2" is specified, a separate connection is used for data and directory operations. Using two connections can significantly increase directory operation performance on a saturated link, at least up to 30x faster.
show more ...
|
#
d3739e61 |
| 29-Mar-2009 |
pooka <pooka@NetBSD.org> |
Save errno before descending to cleanup gehennom.
|
#
84ff1461 |
| 01-Jan-2009 |
pooka <pooka@NetBSD.org> |
Track parent directory in cross-directory renames so that mv & rm for the same file during a vnode's lifecycle works.
... rename fix .. it's going to be a good year ...
|
#
3fd391ab |
| 12-Aug-2008 |
pooka <pooka@NetBSD.org> |
void * -> puffs_cookie_t no functional change
|
#
faa30930 |
| 09-Dec-2007 |
pooka <pooka@NetBSD.org> |
When creating a node, do the server-dance before creating the local data structure. This avoids a race between create and lookup, as the kernel now unlock the directory before the create operation r
When creating a node, do the server-dance before creating the local data structure. This avoids a race between create and lookup, as the kernel now unlock the directory before the create operation returns.
show more ...
|
#
a86a0093 |
| 07-Dec-2007 |
pooka <pooka@NetBSD.org> |
Don't use puffs_cc_getusermount()
|
#
f845b0da |
| 07-Dec-2007 |
pooka <pooka@NetBSD.org> |
Get rid of a lot of extra complexity due to doing separate getattr requests in readdir - just use the results from the readdir rpc.
|
#
2195151d |
| 07-Dec-2007 |
pooka <pooka@NetBSD.org> |
In case a node is created in lookup in the readdir path, initialize attribute cache timestamp to be equal to that of the directory cache timestamp.
|
#
30e5c415 |
| 04-Dec-2007 |
pooka <pooka@NetBSD.org> |
When scheduling waiters for re-run, remove them from the waitqueue already when scheduling to make sure they're not scheduled more than once.
|
#
21913eab |
| 30-Nov-2007 |
pooka <pooka@NetBSD.org> |
Rototill.
Ok, ok, a few more words about it: stop holding puffs_cc as a holy value and passing it around to almost every possible place (popquiz: which kernel variable does this remind you of?). In
Rototill.
Ok, ok, a few more words about it: stop holding puffs_cc as a holy value and passing it around to almost every possible place (popquiz: which kernel variable does this remind you of?). Instead, pass the natural choice, puffs_usermount, and fetch puffs_cc via puffs_cc_getcc() only in routines which actually need it. This not only simplifies code, but (thanks to the introduction of puffs_cc_getcc()) enables constructs which weren't previously sanely possible, say layering as a curious example.
There's still a little to do on this front, but this was the major fs interface blast.
show more ...
|
#
3fe3f654 |
| 30-Nov-2007 |
pooka <pooka@NetBSD.org> |
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 handl
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 link.
The code is in some need of serious handholding, but it works, so I'll leave that as "future work".
show more ...
|
#
6a3d9a18 |
| 27-Nov-2007 |
pooka <pooka@NetBSD.org> |
Remove "puffs_cid" from the puffs interface following l-removal from the kernel vfs interfaces. puffs_cc_getcaller(pcc) can be used now should the same information be desired.
|
#
8dd9b677 |
| 18-Nov-2007 |
pooka <pooka@NetBSD.org> |
Don't bother tracking opencount and try to close file handles in the close method - simply just wait for inactive and do it there.
|
#
b0106b7e |
| 11-Nov-2007 |
pooka <pooka@NetBSD.org> |
Don't overload "attributes last read" for the symlink cache, use a separate variable.
|
#
6b4d0688 |
| 10-Nov-2007 |
pooka <pooka@NetBSD.org> |
Cache readlink results similarly to attributes. Makes "cd" fast for a slow connection if a symlink is along the path.
(this should be done elsewhere, but I want it for sshfs now)
|
#
afe4c2ed |
| 21-Oct-2007 |
pooka <pooka@NetBSD.org> |
Use puffs_cc_schedule() (which is an exported interface) instead of plugging directly to puffs_goto().
|