Skip to content

Cache options#6

Merged
Nikratio merged 4 commits into
libfuse:masterfrom
jmmv:cache-options
Feb 16, 2016
Merged

Cache options#6
Nikratio merged 4 commits into
libfuse:masterfrom
jmmv:cache-options

Conversation

@jmmv
Copy link
Copy Markdown
Contributor

@jmmv jmmv commented Feb 11, 2016

Same as osxfuse/sshfs#20 but rebased on libfuse's sshfs.

jmmv added 4 commits February 10, 2016 23:18
All timeouts are in seconds, so add a suffix to the identifier names to
clearly denote the unit.
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.
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).
@jmmv jmmv mentioned this pull request Feb 11, 2016
@Nikratio
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

Nikratio added a commit that referenced this pull request Feb 16, 2016
Make cache parameters configurable
@Nikratio Nikratio merged commit 451f207 into libfuse:master Feb 16, 2016
@jmmv
Copy link
Copy Markdown
Contributor Author

jmmv commented Feb 16, 2016

You're welcome. Thanks for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants