aboutsummaryrefslogtreecommitdiff
path: root/cache.c
AgeCommit message (Collapse)Author
2016-06-01Support the lack of paths when cache is offRian Hunter
Before FUSE 2.9, FUSE had to emulate unlink() if a file was still open via renaming to a hidden file. This was due to the requirement that a valid "path" argument must be submitted for many FUSE operations. FUSE 2.9 introduced the flag_nullpath_ok and flag_nopath flags that allow a FUSE file system to signal to FUSE that the "path" argument may be NULL in certain operations. sshfs doesn't require paths if the cache isn't used so communicate that information to the FUSE layer.
2016-02-10Explicitly qualify unsigned as unsigned intJulio Merino
2016-02-10Expose the cache clean interval settings as flagsJulio Merino
Allow the user to customize the cache regular and minimum clean intervals as flags via the new cache_clean_interval and cache_min_clean_interval options. While doing this, rename the internal variables and constants to suffix them with their unit (seconds).
2016-02-10Expose the maximum cache size setting as a flagJulio Merino
Allow the user to customize the size of the sshfs cache by adding a new max_cache_size flag and turning the hardcoded constant into a variable.
2016-02-10Qualify timeout identifiers with their unitJulio Merino
All timeouts are in seconds, so add a suffix to the identifier names to clearly denote the unit.
2014-02-10sshfs-return-the-correct-x_ok-accessMiklos Szeredi
sshfs-fuse always returned 0 in access(file, X_OK) calls, causing nautilus to prompt "Do you want to run "login.defs", or display its contents?" for text files that were not executable. Reported by: Alkis Georgopoulos
2012-02-08fix unused but set variablesMiklos Szeredi
cache.c: In function ‘cache_add_attr’: cache.c:167:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable] cache.c: In function ‘cache_add_dir’: cache.c:188:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable] cache.c: In function ‘cache_add_link’: cache.c:212:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
2008-10-08Fix harmless glib assertations with "cache=no"Miklos Szeredi
2008-05-06Fix bug in caching which could cause file corruption for append mode writesMiklos Szeredi
2007-12-10change indentingMiklos Szeredi
2007-04-18Fix spurious cache entries remaining after renaming a directoryMiklos Szeredi
2006-11-11fixMiklos Szeredi
2006-08-16fixesMiklos Szeredi
2006-02-16fixMiklos Szeredi
2006-01-09fixMiklos Szeredi
2005-12-16fixMiklos Szeredi
2005-12-09fixMiklos Szeredi
2005-12-09updated to use libfuse's option parsingMiklos Szeredi
2005-10-28fixMiklos Szeredi
2005-09-08revert create methodMiklos Szeredi
2005-08-23fixMiklos Szeredi
2005-08-13reconnectionMiklos Szeredi
2005-04-13fixMiklos Szeredi
2005-03-04whitespace fixsshfs_1_1Miklos Szeredi
2005-02-24fixMiklos Szeredi
2005-02-09fixMiklos Szeredi
2005-02-08caching improvementsMiklos Szeredi
2005-02-07fixMiklos Szeredi
2005-02-07directory cachingMiklos Szeredi
2005-02-07cleanupMiklos Szeredi