Lines Matching refs:cache
13 (*) Starting the cache.
34 CacheFiles is a caching backend that's meant to use as a cache a directory on
37 CacheFiles uses a userspace daemon to do some of the cache management - such as
41 The filesystem and data integrity of the cache are only as good as those of the
48 and whilst it is open, a cache is at least partially in existence. The daemon
49 opens this and sends commands down it to control the cache.
51 CacheFiles is currently limited to a single cache.
54 the filesystem, shrinking the cache by culling the objects it contains to make
66 available in the system and in the cache filesystem:
79 filesystems being used as a cache.
86 The cache is configured by a script in /etc/cachefilesd.conf. These commands
87 set up cache ready for use. The following script commands are available:
104 Specify the directory containing the root of the cache. Mandatory.
130 The cache is started by running the daemon. The daemon opens the cache device,
131 configures the cache and tells it to begin caching. At that point the cache
132 binds to fscache and the cache becomes live.
162 Do not mount other things within the cache as this will cause problems. The
166 Do not create, rename or unlink files and directories in the cache whilst the
167 cache is active, as this may cause the state to become uncertain.
169 Renaming files in the cache might make objects appear to be other objects (the
172 Do not change or remove the extended attributes attached to cache files by the
173 cache as this will cause the cache state management to get confused.
175 Do not create files or directories in the cache, lest the cache get confused or
178 Do not chmod files in the cache. The module creates things with minimal
186 The cache may need culling occasionally to make space. This involves
187 discarding objects from the cache that have been used less recently than
198 If the amount of free space and the number of available files in the cache
205 cache falls below either of these limits, then culling is started.
211 cache falls below either of these limits, then no further allocation of
223 The userspace daemon scans the cache to build up a table of cullable objects.
224 These are then culled in least recently used order. A new scan of the cache is
236 (*) cache/
240 The active cache objects all reside in the first directory. The CacheFiles
249 "J...". Note that the "cache/" directory is itself a special index.
268 cache/@4a/I03nfs/@30/Ji000000000000000--fHg8hi8400
269 cache/@4a/I03nfs/@30/Ji000000000000000--fHg8hi8400/@75/Es0g000w...DB1ry
270 cache/@4a/I03nfs/@30/Ji000000000000000--fHg8hi8400/@75/Es0g000w...N22ry
271 cache/@4a/I03nfs/@30/Ji000000000000000--fHg8hi8400/@75/Es0g000w...FP1ry
300 Each object in the cache has an extended attribute label that holds the object
302 the netfs. The latter is used to detect stale objects in the cache and update
306 Note that CacheFiles will erase from the cache any file it doesn't recognise or
319 security context that is not appropriate for accessing the cache - either
320 because the files in the cache are inaccessible to that process, or because if
321 the process creates a file in the cache, that file may be inaccessible to other
330 When the CacheFiles module is asked to bind to its cache, it:
332 (1) Finds the security label attached to the root cache directory and uses
359 and directories in the cache, to find and access directories and files in the
360 cache, to set and access extended attributes on cache objects, and to read and
361 write files in the cache.
365 not read or write files in the cache, and so it is precluded from accessing the
366 data cached therein; nor is it permitted to create new files in the cache.
391 By default, the cache is located in /var/fscache, but if it is desirable that
394 cache.
396 For instructions on how to add an auxiliary policy to enable the cache to be
399 /usr/share/doc/cachefilesd-*/move-cache.txt
415 may deny the CacheFiles access to the cache data because under some
422 preventing other processes from accessing the cache - including CacheFiles's
423 cache management daemon (cachefilesd).