| /linux/fs/ceph/ |
| H A D | cache.c | 21 if (!fsc->fscache) in ceph_fscache_register_inode_cookie() 35 fscache_acquire_cookie(fsc->fscache, 0, in ceph_fscache_register_inode_cookie() 99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs() 100 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs() 102 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs() 103 fsc->fscache = NULL; in ceph_fscache_register_fs() 111 fscache_relinquish_volume(fsc->fscache, NULL, false); in ceph_fscache_unregister_fs()
|
| H A D | super.h | 173 struct fscache_volume *fscache; member
|
| /linux/fs/smb/client/ |
| H A D | fscache.c | 56 tcon->fscache = NULL; in cifs_fscache_get_super_cookie() 104 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie() 118 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie() 121 fscache_relinquish_volume(tcon->fscache, &cd, false); in cifs_fscache_release_super_cookie() 122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie() 141 fscache_acquire_cookie(tcon->fscache, 0, in cifs_fscache_get_inode_cookie()
|
| H A D | Makefile | 29 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
|
| H A D | cifsglob.h | 1297 struct fscache_volume *fscache; /* cookie for share */ member
|
| /linux/fs/netfs/ |
| H A D | Kconfig | 17 /proc/fs/fscache/stats 42 See Documentation/filesystems/caching/fscache.rst for more information. 52 /proc/fs/fscache/stats 60 See Documentation/filesystems/caching/fscache.rst for more information.
|
| /linux/fs/cachefiles/ |
| H A D | cache.c | 411 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache() local 413 pr_info("File cache on %s unregistering\n", fscache->name); in cachefiles_withdraw_cache() 415 fscache_withdraw_cache(fscache); in cachefiles_withdraw_cache() 422 fscache_wait_for_objects(fscache); in cachefiles_withdraw_cache() 427 fscache_relinquish_cache(fscache); in cachefiles_withdraw_cache()
|
| /linux/Documentation/filesystems/caching/ |
| H A D | netfs-api.rst | 25 #include <linux/fscache.h>. 45 The fscache hierarchy is organised on two levels from a network filesystem's 71 This causes fscache to send the cache backend off to look up/create resources 88 actually required and it can use the fscache I/O API directly. 112 fscache will look up or create a cache cookie of that name and will use a cache 123 also return a NULL volume cookie if fscache is not enabled. It is safe to 173 allocation failure or if fscache is not enabled. It is safe to pass in a NULL 184 This will cause fscache to either commit the storage backing the cookie or 192 tell fscache when it intends to use the cookie (typically done on file open) 201 The *use* function tells fscache that it will use the cookie and, additionally, [all …]
|
| H A D | backend-api.rst | 11 #include <linux/fscache-cache.h>. 106 The cache must then go through the data storage objects it has and tell fscache 122 to tell fscache that a volume has been withdrawn. This waits for all 125 When the cache is completely withdrawn, fscache should be notified by 260 fscache to finish withdrawing all the objects in the cache. When it completes, 269 operations that fscache can use to manage various aspects of the cache. These 278 pointers to methods to allow fscache to request management of the cache: 329 by the cache backend or closed after a period of non-use by fscache. 452 displayed in /proc/fs/fscache/stats. 479 .. kernel-doc:: include/linux/fscache-cache.h
|
| H A D | fscache.rst | 163 /proc/fs/fscache/stats 227 /proc/fs/fscache/cookies 231 # cat /proc/fs/fscache/caches 258 /proc/fs/fscache/volumes 286 /proc/fs/fscache/cookies 290 # head /proc/fs/fscache/cookies
|
| H A D | index.rst | 9 fscache
|
| H A D | cachefiles.rst | 126 binds to fscache and the cache becomes live. 352 https://people.redhat.com/~dhowells/fscache/cachefilesd-0.8.tar.bz2 372 By default, the cache is located in /var/fscache, but if it is desirable that
|
| /linux/fs/9p/ |
| H A D | v9fs.h | 121 struct fscache_volume *fscache; member 163 return v9ses->fscache; in v9fs_session_cache()
|
| H A D | cache.c | 45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
|
| /linux/Documentation/filesystems/ |
| H A D | 9p.rst | 147 0b10000000 fscache enabled for persistent caching 157 fscache 0b10001111 (persistent loose cache) 164 IMPORTANT: loose caches (and by extension at the moment fscache) 185 0x800 display fscache tracing debug 240 /sys/fs/9p/caches. (applies only to cache=fscache)
|
| H A D | afs.rst | 32 (*) Local caching (via fscache).
|
| /linux/fs/erofs/ |
| H A D | internal.h | 44 struct erofs_fscache *fscache; member 516 void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache); 533 static inline void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache) in erofs_fscache_unregister_cookie() argument
|
| H A D | Kconfig | 99 hooks, will eventually replace "EROFS over fscache." 166 bool "EROFS fscache-based on-demand read support (deprecated)" 171 This permits EROFS to use fscache-backed data blobs with on-demand
|
| H A D | data.c | 69 buf->mapping = sbi->dif0.fscache->inode->i_mapping; in erofs_init_metabuf()
|
| /linux/fs/nfs/ |
| H A D | Makefile | 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o
|
| H A D | fscache.h | 143 if (server->fscache) in nfs_server_fscache_state()
|
| H A D | super.c | 1268 nfss->fscache = NULL; in nfs_get_cache_cookie()
|
| /linux/include/linux/ |
| H A D | nfs_fs_sb.h | 216 struct fscache_volume *fscache; /* superblock cookie */ member
|
| /linux/include/trace/events/ |
| H A D | fscache.h | 8 #define TRACE_SYSTEM fscache
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | workqueue.rst | 55 发性的用户,如async或fscache,不得不实现他们自己的线程池。
|