| /Linux-v6.6/fs/ceph/ |
| 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()
|
| /Linux-v6.6/fs/fscache/ |
| D | Makefile | 6 fscache-y := \ 13 fscache-$(CONFIG_PROC_FS) += proc.o 14 fscache-$(CONFIG_FSCACHE_STATS) += stats.o 16 obj-$(CONFIG_FSCACHE) := fscache.o
|
| D | Kconfig | 12 See Documentation/filesystems/caching/fscache.rst for more information. 22 /proc/fs/fscache/stats 30 See Documentation/filesystems/caching/fscache.rst for more information. 38 enabled by setting bits in /sys/modules/fscache/parameter/debug. 40 See Documentation/filesystems/caching/fscache.rst for more information.
|
| /Linux-v6.6/fs/smb/client/ |
| D | fscache.c | 36 tcon->fscache = NULL; in cifs_fscache_get_super_cookie() 77 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie() 90 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie() 93 fscache_relinquish_volume(tcon->fscache, &cd, false); in cifs_fscache_release_super_cookie() 94 tcon->fscache = NULL; in cifs_fscache_release_super_cookie() 107 fscache_acquire_cookie(tcon->fscache, 0, in cifs_fscache_get_inode_cookie()
|
| D | Makefile | 29 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
|
| /Linux-v6.6/fs/cachefiles/ |
| D | cache.c | 367 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache() local 369 pr_info("File cache on %s unregistering\n", fscache->name); in cachefiles_withdraw_cache() 371 fscache_withdraw_cache(fscache); in cachefiles_withdraw_cache() 377 fscache_wait_for_objects(fscache); in cachefiles_withdraw_cache() 382 fscache_relinquish_cache(fscache); in cachefiles_withdraw_cache()
|
| /Linux-v6.6/fs/nfs/ |
| D | fscache.c | 141 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie() 155 fscache_relinquish_volume(nfss->fscache, NULL, false); in nfs_fscache_release_super_cookie() 156 nfss->fscache = NULL; in nfs_fscache_release_super_cookie() 170 if (!(nfss->fscache && S_ISREG(inode->i_mode))) in nfs_fscache_init_inode() 176 nfss->fscache, in nfs_fscache_init_inode()
|
| D | Makefile | 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o
|
| D | fscache.h | 143 if (server->fscache) in nfs_server_fscache_state()
|
| /Linux-v6.6/Documentation/filesystems/caching/ |
| 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 324 /sys/module/fscache/parameters/debug 346 echo $((1|8|512)) >/sys/module/fscache/parameters/debug
|
| 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 …]
|
| D | index.rst | 9 fscache
|
| 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
|
| /Linux-v6.6/fs/9p/ |
| D | v9fs.h | 118 struct fscache_volume *fscache; member 160 return v9ses->fscache; in v9fs_session_cache()
|
| D | cache.c | 45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
|
| /Linux-v6.6/Documentation/filesystems/ |
| D | 9p.rst | 91 0b10000000 fscache enabled for persistent caching 101 fscache 0b10001111 (persistent loose cache) 108 IMPORTANT: loose caches (and by extension at the moment fscache) 129 0x800 display fscache tracing debug 184 /sys/fs/9p/caches. (applies only to cache=fscache)
|
| /Linux-v6.6/fs/erofs/ |
| D | fscache.c | 568 struct erofs_fscache *fscache; in erofs_fscache_register_fs() local 590 fscache = erofs_fscache_register_cookie(sb, sbi->fsid, flags); in erofs_fscache_register_fs() 591 if (IS_ERR(fscache)) in erofs_fscache_register_fs() 592 return PTR_ERR(fscache); in erofs_fscache_register_fs() 594 sbi->s_fscache = fscache; in erofs_fscache_register_fs()
|
| D | super.c | 228 struct erofs_fscache *fscache; in erofs_init_device() local 249 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 250 if (IS_ERR(fscache)) in erofs_init_device() 251 return PTR_ERR(fscache); in erofs_init_device() 252 dif->fscache = fscache; in erofs_init_device() 811 erofs_fscache_unregister_cookie(dif->fscache); in erofs_release_device_info() 812 dif->fscache = NULL; in erofs_release_device_info()
|
| D | Makefile | 9 erofs-$(CONFIG_EROFS_FS_ONDEMAND) += fscache.o
|
| D | internal.h | 49 struct erofs_fscache *fscache; member 551 void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache); 566 static inline void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache) in erofs_fscache_unregister_cookie() argument
|
| D | Kconfig | 119 bool "EROFS fscache-based on-demand read support" 123 This permits EROFS to use fscache-backed data blobs with on-demand
|
| D | data.c | 228 map->m_fscache = dif->fscache; in erofs_map_dev() 246 map->m_fscache = dif->fscache; in erofs_map_dev()
|
| /Linux-v6.6/fs/netfs/ |
| D | Kconfig | 17 /proc/fs/fscache/stats
|
| /Linux-v6.6/include/linux/ |
| D | nfs_fs_sb.h | 198 struct fscache_volume *fscache; /* superblock cookie */ member
|
| /Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
| D | workqueue.rst | 54 发性的用户,如async或fscache,不得不实现他们自己的线程池。
|