diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2007-02-11 14:21:39 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2007-02-18 11:16:10 -0500 |
commit | e03abc0c963a31cb07dfbc07c7d85d75e0d13cf4 (patch) | |
tree | 1840001bde4a7f9f01d39dd09baf7d7b04e95706 /Documentation | |
parent | 2c0463a9ae8751547c39302aeb31c6cef16b5df4 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/00-INDEX | 4 | ||||
-rw-r--r-- | Documentation/filesystems/9p.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/filesystems/00-INDEX b/Documentation/filesystems/00-INDEX index 4dc28cc93503..571785887a4f 100644 --- a/Documentation/filesystems/00-INDEX +++ b/Documentation/filesystems/00-INDEX | |||
@@ -4,6 +4,8 @@ Exporting | |||
4 | - explanation of how to make filesystems exportable. | 4 | - explanation of how to make filesystems exportable. |
5 | Locking | 5 | Locking |
6 | - info on locking rules as they pertain to Linux VFS. | 6 | - info on locking rules as they pertain to Linux VFS. |
7 | 9p.txt | ||
8 | - 9p (v9fs) is an implementation of the Plan 9 remote fs protocol. | ||
7 | adfs.txt | 9 | adfs.txt |
8 | - info and mount options for the Acorn Advanced Disc Filing System. | 10 | - info and mount options for the Acorn Advanced Disc Filing System. |
9 | afs.txt | 11 | afs.txt |
@@ -82,8 +84,6 @@ udf.txt | |||
82 | - info and mount options for the UDF filesystem. | 84 | - info and mount options for the UDF filesystem. |
83 | ufs.txt | 85 | ufs.txt |
84 | - info on the ufs filesystem. | 86 | - info on the ufs filesystem. |
85 | v9fs.txt | ||
86 | - v9fs is a Unix implementation of the Plan 9 9p remote fs protocol. | ||
87 | vfat.txt | 87 | vfat.txt |
88 | - info on using the VFAT filesystem used in Windows NT and Windows 95 | 88 | - info on using the VFAT filesystem used in Windows NT and Windows 95 |
89 | vfs.txt | 89 | vfs.txt |
diff --git a/Documentation/filesystems/9p.txt b/Documentation/filesystems/9p.txt index 4d075a4558f9..bbd8b28c13de 100644 --- a/Documentation/filesystems/9p.txt +++ b/Documentation/filesystems/9p.txt | |||
@@ -40,6 +40,10 @@ OPTIONS | |||
40 | aname=name aname specifies the file tree to access when the server is | 40 | aname=name aname specifies the file tree to access when the server is |
41 | offering several exported file systems. | 41 | offering several exported file systems. |
42 | 42 | ||
43 | cache=mode specifies a cacheing policy. By default, no caches are used. | ||
44 | loose = no attempts are made at consistency, | ||
45 | intended for exclusive, read-only mounts | ||
46 | |||
43 | debug=n specifies debug level. The debug level is a bitmask. | 47 | debug=n specifies debug level. The debug level is a bitmask. |
44 | 0x01 = display verbose error messages | 48 | 0x01 = display verbose error messages |
45 | 0x02 = developer debug (DEBUG_CURRENT) | 49 | 0x02 = developer debug (DEBUG_CURRENT) |