]> err.no Git - linux-2.6/commit
9p: implement optional loose read cache
authorEric Van Hensbergen <ericvh@gmail.com>
Sun, 11 Feb 2007 19:21:39 +0000 (13:21 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Sun, 18 Feb 2007 16:16:10 +0000 (10:16 -0600)
commite03abc0c963a31cb07dfbc07c7d85d75e0d13cf4
tree1840001bde4a7f9f01d39dd09baf7d7b04e95706
parent2c0463a9ae8751547c39302aeb31c6cef16b5df4
9p: implement optional loose read cache

While cacheing is generally frowned upon in the 9p world, it has its
place -- particularly in situations where the remote file system is
exclusive and/or read-only.  The vacfs views of venti content addressable
store are a real-world instance of such a situation.  To facilitate higher
performance for these workloads (and eventually use the fscache patches),
we have enabled a "loose" cache mode which does not attempt to maintain
any form of consistency on the page-cache or dcache.  This results in over
two orders of magnitude performance improvement for cacheable block reads
in the Bonnie benchmark.  The more aggressive use of the dcache also seems
to improve metadata operational performance.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Documentation/filesystems/00-INDEX
Documentation/filesystems/9p.txt
fs/9p/fid.c
fs/9p/v9fs.c
fs/9p/v9fs.h
fs/9p/v9fs_vfs.h
fs/9p/vfs_addr.c
fs/9p/vfs_dentry.c
fs/9p/vfs_file.c
fs/9p/vfs_inode.c