|author||Dave Presotto <firstname.lastname@example.org>||Thu Dec 21 20:49:40 2017 -0800|
|committer||David Presotto <email@example.com>||Thu Dec 28 08:06:52 2017 +0000|
cmd/upspinfs: limit the size of the cache upspinfs will cache all currently open files. However, it is useful to also cache closed ones in the hopes that they will be used again. Upspinfs was not cleaning these up until a restart resulting in a lot of disk usage. This CL keeps an LRU of closed files, removing them either when the LRU overflows or the storage exceeds the value specified by the cachesize option. So that cachesize approximates the total storage used by both upspinfs and cacheserver, when a cacheserver is specified by the config, we actually reduce the maximum storage used by upspinfs to cachesize/10. Change-Id: I91b23537ee990cc7286039c11c886372297be121 Reviewed-on: https://upspin-review.googlesource.com/17860 Reviewed-by: Rob Pike <firstname.lastname@example.org>
Upspin is an experimental project to build a framework for naming and sharing files and other data securely, uniformly, and globally: a global name system of sorts.
It is not a file system, but a set of protocols and reference implementations that can be used to join things like file systems and other storage services to the name space.
Performance is not a primary goal. Uniformity and security are.
Upspin is not an official Google product.
Upspin has rough edges, and is not yet suitable for non-technical users.
Note that the Upspin project does not use GitHub pull requests, and that we use the issue tracker for bug reports and proposals only.
See the Contribution Guidelines for more information on contributing to the project.
Please report issues through our issue tracker.
All Upspin users should subscribe to the Upspin Announcements mailing list to receive critical information about the project.
Use the Upspin mailing list for discussion about Upspin use and development.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The Upspin mascot is Copyright 2017 Renee French. All Rights Reserved.