-
- Downloads
9p: Add fscache support to 9p
This patch adds a persistent, read-only caching facility for 9p clients using the FS-Cache caching backend. When the fscache facility is enabled, each inode is associated with a corresponding vcookie which is an index into the FS-Cache indexing tree. The FS-Cache indexing tree is indexed at 3 levels: - session object associated with each mount. - inode/vcookie - actual data (pages) A cache tag is chosen randomly for each session. These tags can be read off /sys/fs/9p/caches and can be passed as a mount-time parameter to re-attach to the specified caching session. Signed-off-by:Abhishek Kulkarni <adkulkar@umail.iu.edu> Signed-off-by:
Eric Van Hensbergen <ericvh@gmail.com>
Showing
- fs/9p/Kconfig 9 additions, 0 deletionsfs/9p/Kconfig
- fs/9p/Makefile 2 additions, 1 deletionfs/9p/Makefile
- fs/9p/cache.c 474 additions, 0 deletionsfs/9p/cache.c
- fs/9p/cache.h 176 additions, 0 deletionsfs/9p/cache.h
- fs/9p/v9fs.c 175 additions, 21 deletionsfs/9p/v9fs.c
- fs/9p/v9fs.h 9 additions, 4 deletionsfs/9p/v9fs.h
- fs/9p/v9fs_vfs.h 6 additions, 0 deletionsfs/9p/v9fs_vfs.h
- fs/9p/vfs_addr.c 87 additions, 1 deletionfs/9p/vfs_addr.c
- fs/9p/vfs_file.c 8 additions, 2 deletionsfs/9p/vfs_file.c
- fs/9p/vfs_inode.c 56 additions, 1 deletionfs/9p/vfs_inode.c
- fs/9p/vfs_super.c 4 additions, 12 deletionsfs/9p/vfs_super.c
- include/net/9p/9p.h 3 additions, 0 deletionsinclude/net/9p/9p.h
Loading
Please register or sign in to comment