/linux-6.3-rc2/fs/ceph/ |
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() 97 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs() 98 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs() 100 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs() 101 fsc->fscache = NULL; in ceph_fscache_register_fs() 109 fscache_relinquish_volume(fsc->fscache, NULL, false); in ceph_fscache_unregister_fs()
|
/linux-6.3-rc2/fs/fscache/ |
A 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
|
A 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-6.3-rc2/fs/nfs/ |
A D | fscache.c | 138 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie() 152 fscache_relinquish_volume(nfss->fscache, NULL, false); in nfs_fscache_release_super_cookie() 153 nfss->fscache = NULL; in nfs_fscache_release_super_cookie() 166 nfsi->fscache = NULL; in nfs_fscache_init_inode() 167 if (!(nfss->fscache && S_ISREG(inode->i_mode))) in nfs_fscache_init_inode() 172 nfsi->fscache = fscache_acquire_cookie(NFS_SB(inode->i_sb)->fscache, in nfs_fscache_init_inode() 190 nfsi->fscache = NULL; in nfs_fscache_clear_inode()
|
A D | iostat.h | 21 unsigned long long fscache[__NFSIOS_FSCACHEMAX]; member 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats() 62 this_cpu_inc(NFS_SERVER(inode)->io_stats->fscache[stat]); in nfs_inc_fscache_stats()
|
A D | fscache.h | 106 if (nfsi->fscache) { in nfs_fscache_invalidate() 108 fscache_invalidate(nfsi->fscache, &auxdata, in nfs_fscache_invalidate() 118 if (server->fscache) in nfs_server_fscache_state()
|
A D | Makefile | 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o
|
/linux-6.3-rc2/fs/cifs/ |
A 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()
|
A D | Makefile | 28 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
|
/linux-6.3-rc2/fs/cachefiles/ |
A 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-6.3-rc2/Documentation/filesystems/caching/ |
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 324 /sys/module/fscache/parameters/debug 346 echo $((1|8|512)) >/sys/module/fscache/parameters/debug
|
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) 394 Once all the pages in the span are marked, the netfs can ask fscache to [all …]
|
A D | index.rst | 9 fscache
|
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
|
/linux-6.3-rc2/fs/9p/ |
A D | v9fs.h | 93 struct fscache_volume *fscache; member 136 return v9ses->fscache; in v9fs_session_cache()
|
A D | cache.c | 45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
|
/linux-6.3-rc2/fs/erofs/ |
A D | fscache.c | 567 struct erofs_fscache *fscache; in erofs_fscache_register_fs() local 589 fscache = erofs_fscache_register_cookie(sb, sbi->fsid, flags); in erofs_fscache_register_fs() 590 if (IS_ERR(fscache)) in erofs_fscache_register_fs() 591 return PTR_ERR(fscache); in erofs_fscache_register_fs() 593 sbi->s_fscache = fscache; in erofs_fscache_register_fs()
|
A D | super.c | 226 struct erofs_fscache *fscache; in erofs_init_device() local 247 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 248 if (IS_ERR(fscache)) in erofs_init_device() 249 return PTR_ERR(fscache); in erofs_init_device() 250 dif->fscache = fscache; in erofs_init_device() 858 erofs_fscache_unregister_cookie(dif->fscache); in erofs_release_device_info() 859 dif->fscache = NULL; in erofs_release_device_info()
|
A D | Makefile | 8 erofs-$(CONFIG_EROFS_FS_ONDEMAND) += fscache.o
|
A D | internal.h | 51 struct erofs_fscache *fscache; member 573 void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache); 588 static inline void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache) in erofs_fscache_unregister_cookie() argument
|
A D | Kconfig | 103 bool "EROFS fscache-based on-demand read support" 107 This permits EROFS to use fscache-backed data blobs with on-demand
|
A D | data.c | 216 map->m_fscache = dif->fscache; in erofs_map_dev() 234 map->m_fscache = dif->fscache; in erofs_map_dev()
|
/linux-6.3-rc2/fs/netfs/ |
A D | Kconfig | 17 /proc/fs/fscache/stats
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | 9p.rst | 88 fscache 109 0x800 display fscache tracing debug 158 /sys/fs/9p/caches. (applies only to cache=fscache)
|
/linux-6.3-rc2/include/linux/ |
A D | nfs_fs_sb.h | 194 struct fscache_volume *fscache; /* superblock cookie */ member
|